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!
foreach(target ${output})
......@@ -10,5 +10,7 @@ endforeach()
# reuse the existing executables for a convergence test.
# try picking only one static variation for the convergence test
list(GET output 0 conv_target)
add_dune_convergence_test(BASENAME poisson TARGET ${conv_target} INIFILE poisson_conv.mini)
\ No newline at end of file
#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 ${output} INIFILE poisson_conv.mini)
......@@ -3,17 +3,17 @@ dim = 2
grid = yasp, ug | expand grid
degree = 1, 2 | expand deg
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
__exec_suffix = {naming}
__name = {naming}_lev{level}
outputFile = poisson_conv_{__name}.output
outputFile = {__name}.output
computeError = true
[vtk]
output = False
vtk.output = False
name = poisson_{naming}
[yaspgrid]
......@@ -32,6 +32,5 @@ GRIDTYPE = Dune::YaspGrid<{dim}>, Dune::UGGrid<{dim}> | expand grid
DEGREE = {degree}
[__CONVERGENCE_TEST]
TestKey = level
ExpectedRate = 2, 3 | expand degree
AbsoluteDiff = 0.1
\ No newline at end of file
ExpectedRate = 2, 3 | expand deg
AbsoluteDiff = 0.1
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