Add new regression test.

This uses periodic boundary conditions and it is inspired by the example problem from issue #108
This commit is contained in:
Victor A. P. Magri 2020-05-10 22:00:51 -07:00
parent 84ebcd0b07
commit 786e25cd4f
2 changed files with 7 additions and 1 deletions

View File

@ -33,7 +33,7 @@ mpirun -np 2 ./struct -n 20 20 10 -p 20 0 20 -P 1 1 2 -skip 1 -rap 1 -solver 1
> periodic.out.41
#=============================================================================
# Check SMG for power-of-two systems
# Check SMG
#=============================================================================
# power-of-two
@ -42,3 +42,6 @@ mpirun -np 1 ./struct -n 16 16 16 -p 16 0 16 -P 1 1 1 -solver 0 > periodic.out.5
mpirun -np 2 ./struct -n 8 16 16 -p 16 0 16 -P 2 1 1 -solver 0 > periodic.out.51
mpirun -np 4 ./struct -n 8 8 16 -p 16 0 16 -P 2 2 1 -solver 0 > periodic.out.52
mpirun -np 4 ./struct -n 16 8 8 -p 16 0 16 -P 1 2 2 -solver 0 > periodic.out.53
# non-power-of-two
mpirun -np 3 ./struct -n 10 10 10 -p 0 0 30 -P 1 1 3 -solver 0 > periodic.out.60

View File

@ -62,3 +62,6 @@ Final Relative Residual Norm = 3.701014e-07
Iterations = 7
Final Relative Residual Norm = 3.701014e-07
# Output file: periodic.out.60
Iterations = 10
Final Relative Residual Norm = 1.565392e-07