Skip to content
Snippets Groups Projects
Commit acbab7f9 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Adjust the poisson (convergence) test to the command syntax

parent 3515074a
No related branches found
No related tags found
No related merge requests found
add_dune_system_test(BASENAME poisson INIFILE poisson.mini SOURCE poisson_uniform.cc TARGETS output SCRIPT ${DUNE_TESTTOOLS_PATH}/python/wrapper/vtkcompare.py) add_dune_system_test(BASENAME poisson INIFILE poisson.mini SOURCE poisson_uniform.cc TARGETS output) #SCRIPT ${DUNE_TESTTOOLS_PATH}/python/wrapper/vtkcompare.py)
# The following block is supposed to vanish as soon as FS1557 is through! # The following block is supposed to vanish as soon as FS1557 is through!
foreach(target ${output}) foreach(target ${output})
...@@ -10,5 +10,7 @@ endforeach() ...@@ -10,5 +10,7 @@ endforeach()
# reuse the existing executables for a convergence test. # reuse the existing executables for a convergence test.
# try picking only one static variation for the convergence test # try picking only one static variation for the convergence test
list(GET output 0 conv_target) #list(GET output 0 conv_target)
add_dune_convergence_test(BASENAME poisson TARGET ${conv_target} INIFILE poisson_conv.mini) #add_dune_convergence_test(BASENAME poisson TARGET ${conv_target} INIFILE poisson_conv.mini)
\ No newline at end of file
add_dune_convergence_test(BASENAME poisson TARGET ${output} INIFILE poisson_conv.mini)
...@@ -3,17 +3,17 @@ dim = 2 ...@@ -3,17 +3,17 @@ dim = 2
grid = yasp, ug | expand grid grid = yasp, ug | expand grid
degree = 1, 2 | expand deg degree = 1, 2 | expand deg
naming = {grid}_{dim}d_Q{degree} naming = {grid}_{dim}d_Q{degree}
level = 1,2,3,4,5 | expand level = 1,2,3,4,5 | convergence_test
# The suffix for the executable # The suffix for the executable
__exec_suffix = {naming} __exec_suffix = {naming}
__name = {naming}_lev{level} __name = {naming}_lev{level}
outputFile = poisson_conv_{__name}.output outputFile = {__name}.output
computeError = true computeError = true
[vtk] [vtk]
output = False vtk.output = False
name = poisson_{naming} name = poisson_{naming}
[yaspgrid] [yaspgrid]
...@@ -32,6 +32,5 @@ GRIDTYPE = Dune::YaspGrid<{dim}>, Dune::UGGrid<{dim}> | expand grid ...@@ -32,6 +32,5 @@ GRIDTYPE = Dune::YaspGrid<{dim}>, Dune::UGGrid<{dim}> | expand grid
DEGREE = {degree} DEGREE = {degree}
[__CONVERGENCE_TEST] [__CONVERGENCE_TEST]
TestKey = level ExpectedRate = 2, 3 | expand deg
ExpectedRate = 2, 3 | expand degree AbsoluteDiff = 0.1
AbsoluteDiff = 0.1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment