added regression test for adding off processor values to matrices and vectors
This commit is contained in:
parent
388e4014f5
commit
ff25070035
18
test/TEST_ij/A_tstoffd.00000
Normal file
18
test/TEST_ij/A_tstoffd.00000
Normal file
@ -0,0 +1,18 @@
|
||||
0 11 0 11
|
||||
0 0 1.0
|
||||
1 1 1.0
|
||||
2 2 1.0
|
||||
3 3 1.0
|
||||
4 4 1.0
|
||||
5 5 1.0
|
||||
6 6 1.0
|
||||
7 7 1.0
|
||||
8 8 1.0
|
||||
9 9 1.0
|
||||
10 10 1.0
|
||||
11 11 1.0
|
||||
14 14 1.0
|
||||
18 18 1.0
|
||||
25 25 1.0
|
||||
29 29 1.0
|
||||
35 35 1.0
|
||||
14
test/TEST_ij/A_tstoffd.00001
Normal file
14
test/TEST_ij/A_tstoffd.00001
Normal file
@ -0,0 +1,14 @@
|
||||
12 16 12 16
|
||||
12 12 1.0
|
||||
13 13 1.0
|
||||
14 14 1.0
|
||||
15 15 1.0
|
||||
16 16 1.0
|
||||
5 5 1.0
|
||||
6 6 1.0
|
||||
7 7 1.0
|
||||
8 8 1.0
|
||||
11 11 1.0
|
||||
19 19 1.0
|
||||
25 25 1.0
|
||||
36 36 1.0
|
||||
23
test/TEST_ij/A_tstoffd.00002
Normal file
23
test/TEST_ij/A_tstoffd.00002
Normal file
@ -0,0 +1,23 @@
|
||||
17 26 17 26
|
||||
5 5 1.0
|
||||
10 10 1.0
|
||||
11 11 1.0
|
||||
12 12 1.0
|
||||
13 13 1.0
|
||||
14 14 1.0
|
||||
15 15 1.0
|
||||
16 16 1.0
|
||||
17 17 1.0
|
||||
18 18 1.0
|
||||
19 19 1.0
|
||||
20 20 1.0
|
||||
21 21 1.0
|
||||
22 22 1.0
|
||||
23 23 1.0
|
||||
24 24 1.0
|
||||
25 25 1.0
|
||||
26 26 1.0
|
||||
27 27 1.0
|
||||
28 28 1.0
|
||||
29 29 1.0
|
||||
35 35 1.0
|
||||
32
test/TEST_ij/A_tstoffd.00003
Normal file
32
test/TEST_ij/A_tstoffd.00003
Normal file
@ -0,0 +1,32 @@
|
||||
27 39 27 39
|
||||
10 10 1.0
|
||||
5 5 1.0
|
||||
11 11 1.0
|
||||
12 12 1.0
|
||||
13 13 1.0
|
||||
14 14 1.0
|
||||
15 15 1.0
|
||||
16 16 1.0
|
||||
17 17 1.0
|
||||
18 18 1.0
|
||||
19 19 1.0
|
||||
20 20 1.0
|
||||
21 21 1.0
|
||||
22 22 1.0
|
||||
23 23 1.0
|
||||
24 24 1.0
|
||||
25 25 1.0
|
||||
26 26 1.0
|
||||
27 27 1.0
|
||||
28 28 1.0
|
||||
29 29 1.0
|
||||
30 30 1.0
|
||||
31 31 1.0
|
||||
32 32 1.0
|
||||
33 33 1.0
|
||||
34 34 1.0
|
||||
35 35 1.0
|
||||
36 36 1.0
|
||||
37 37 1.0
|
||||
38 38 1.0
|
||||
39 39 1.0
|
||||
18
test/TEST_ij/b_tstoffd.00000
Normal file
18
test/TEST_ij/b_tstoffd.00000
Normal file
@ -0,0 +1,18 @@
|
||||
0 11
|
||||
0 1.0
|
||||
1 1.0
|
||||
2 1.0
|
||||
3 1.0
|
||||
4 1.0
|
||||
5 1.0
|
||||
6 1.0
|
||||
7 1.0
|
||||
8 1.0
|
||||
9 1.0
|
||||
10 1.0
|
||||
11 1.0
|
||||
14 1.0
|
||||
18 1.0
|
||||
25 1.0
|
||||
29 1.0
|
||||
35 1.0
|
||||
14
test/TEST_ij/b_tstoffd.00001
Normal file
14
test/TEST_ij/b_tstoffd.00001
Normal file
@ -0,0 +1,14 @@
|
||||
12 16
|
||||
12 1.0
|
||||
13 1.0
|
||||
14 1.0
|
||||
15 1.0
|
||||
16 1.0
|
||||
5 1.0
|
||||
6 1.0
|
||||
7 1.0
|
||||
8 1.0
|
||||
11 1.0
|
||||
19 1.0
|
||||
25 1.0
|
||||
36 1.0
|
||||
23
test/TEST_ij/b_tstoffd.00002
Normal file
23
test/TEST_ij/b_tstoffd.00002
Normal file
@ -0,0 +1,23 @@
|
||||
17 26
|
||||
5 1.0
|
||||
10 1.0
|
||||
11 1.0
|
||||
12 1.0
|
||||
13 1.0
|
||||
14 1.0
|
||||
15 1.0
|
||||
16 1.0
|
||||
17 1.0
|
||||
18 1.0
|
||||
19 1.0
|
||||
20 1.0
|
||||
21 1.0
|
||||
22 1.0
|
||||
23 1.0
|
||||
24 1.0
|
||||
25 1.0
|
||||
26 1.0
|
||||
27 1.0
|
||||
28 1.0
|
||||
29 1.0
|
||||
35 1.0
|
||||
32
test/TEST_ij/b_tstoffd.00003
Normal file
32
test/TEST_ij/b_tstoffd.00003
Normal file
@ -0,0 +1,32 @@
|
||||
27 39
|
||||
10 1.0
|
||||
5 1.0
|
||||
11 1.0
|
||||
12 1.0
|
||||
13 1.0
|
||||
14 1.0
|
||||
15 1.0
|
||||
16 1.0
|
||||
17 1.0
|
||||
18 1.0
|
||||
19 1.0
|
||||
20 1.0
|
||||
21 1.0
|
||||
22 1.0
|
||||
23 1.0
|
||||
24 1.0
|
||||
25 1.0
|
||||
26 1.0
|
||||
27 1.0
|
||||
28 1.0
|
||||
29 1.0
|
||||
30 1.0
|
||||
31 1.0
|
||||
32 1.0
|
||||
33 1.0
|
||||
34 1.0
|
||||
35 1.0
|
||||
36 1.0
|
||||
37 1.0
|
||||
38 1.0
|
||||
39 1.0
|
||||
@ -26,3 +26,5 @@ mpirun -np 2 ./ij -rhsrand > matrix.out.0
|
||||
mpirun -np 2 ./ij -rhsrand -exact_size > matrix.out.1
|
||||
|
||||
mpirun -np 2 ./ij -rhsrand -low_storage > matrix.out.2
|
||||
|
||||
mpirun -np 4 ./new_ij -fromfile A_tstoffd -rhsfromfile b_tstoffd > matrix.out.3
|
||||
|
||||
@ -19,3 +19,10 @@
|
||||
operator = 5.803438
|
||||
cycle = 11.601250
|
||||
|
||||
# Output file: matrix.out.3
|
||||
Average Convergence Factor = 0.000000
|
||||
|
||||
Complexity: grid = 1.000000
|
||||
operator = 1.000000
|
||||
cycle = 1.000000
|
||||
|
||||
|
||||
@ -37,6 +37,7 @@ FILES="\
|
||||
${TNAME}.out.0\
|
||||
${TNAME}.out.1\
|
||||
${TNAME}.out.2\
|
||||
${TNAME}.out.3\
|
||||
"
|
||||
|
||||
for i in $FILES
|
||||
|
||||
Loading…
Reference in New Issue
Block a user