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