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

Adapt to upstream changes.

parent 7695377b
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
CREATED_TARGETS output
SCRIPT ${DUNE_TESTTOOLS_PATH}/python/wrapper/vtkcompare.py)
#add_dune_convergence_test(BASENAME poisson
# TARGET ${output}
# INIFILE poisson_conv.mini)
add_dune_system_test(BASENAME poisson
TARGET ${output}
INIFILE poisson_conv.mini
SCRIPT ${DUNE_TESTTOOLS_PATH}/python/wrapper/convergencetest.py)
\ No newline at end of file
# define some convenience variables
dim = 2
grid = yasp, ug | expand grid
degree = 1, 2 | expand deg
degree = 1
naming = {grid}_{dim}d_Q{degree}
level = 4
# The suffix for the executable
__exec_suffix = {naming}
outputFile = output_{naming} | output_name
#outputFile = output_{naming} | output_name
computeError = false
[vtk]
......@@ -27,8 +27,6 @@ lowerleft = 0. 0.
upperright = 1. 1.
refinement = {level}
[__static.COMPILE_DEFINITIONS]
[__static]
GRIDTYPE = Dune::YaspGrid<{dim}>, Dune::UGGrid<{dim}> | expand grid
DEGREE = {degree}
{grid} == yasp | label YASP GRIDLABEL
include poisson.mini
level = 1,2,3,4,5 | convergence_test
level = 1,2,3,4,5 | convergencetest
__name = {naming}_lev{level}
__name = conv_{naming}
outputFile = {__name}.output
computeError = true
vtk.output = false
[__CONVERGENCE_TEST]
ExpectedRate = 2, 3 | expand deg
AbsoluteDiff = 0.1
NormType = l2norm
QuantityName = hmax
\ No newline at end of file
2 | convergencetest rate
0.1 | convergencetest diff
l2norm | convergencetest norm_outputkey
hmax | convergencetest scale_outputkey
myout | convergencetest output_extension
\ 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