The TS-GitLab will have to shut down in the near future — please plan migrating your projects to GitLab.com or GitHub. Contact @yunus for more information.

Commit 3ff04017 authored by Lukas Riedel's avatar Lukas Riedel 🎧
Browse files

Adapt the muphi reference test

* Reference test now works based on heterogeneous medium
* Add mapping file for test
* Update reference muphi output
* Slightly raise error tolerance
parent 3df46e37
......@@ -11,10 +11,7 @@ add_custom_target(test_run_ode
add_dependencies(test_run_ode prepare_testing)
# dorie run: Reference tests
dorie_add_metaini_test(TARGET dorie-rfg METAINI parfield_muphi.mini.in)
dorie_add_metaini_test(TARGET dorie METAINI muphi.mini.in)
set_tests_properties(dorie-rfg_ref_muphi_pfg PROPERTIES FIXTURES_SETUP muphi_ref)
set_tests_properties(dorie_ref_muphi PROPERTIES FIXTURES_REQUIRED muphi_ref)
add_custom_target(test_run_ref
COMMAND ctest --output-on-failure --tests-regex ^.+_ref_.+$
......@@ -42,8 +39,6 @@ add_custom_target(test_run_parallel
# dorie exec tests
dorie_add_metaini_test(TARGET dorie METAINI run.mini.in)
set_tests_properties(dorie-rfg_exec_0000 PROPERTIES FIXTURES_SETUP dorie_run)
set_tests_properties(dorie_exec_run PROPERTIES FIXTURES_REQUIRED dorie_run)
dorie_add_metaini_test(TARGET dorie METAINI plot.mini.in)
set_tests_properties(dorie_exec_run PROPERTIES FIXTURES_SETUP dorie_plot)
......
......@@ -5,25 +5,25 @@ _test_command = run
_asset_path = "${CMAKE_CURRENT_LIST_DIR}"
_evaluation = muphi
_reference.path = {_asset_path}/references/muphi/
_reference.meantol = 5E-3
_reference.meantol = 7.6E-3
output.fileName = muphi | unique name
output.outputPath = muphi | unique name
output.fileName = ref_muphi | unique name
output.outputPath = ref_muphi | unique name
output.verbose = 0
time.end = 1.5E5
time.maxTimestep = 1E5
time.startTimestep = 1E3
adaptivity.useAdaptivity = false
time.end = 1E4
time.maxTimestep = 1E4
time.minTimestep = 1E-1
time.startTimestep = 1E1
grid.dimensions = 2
grid.initialLevel = 0
grid.gridType = rectangular
grid.cells = 50 200
grid.cells = 64 64
grid.extensions = 1 1
boundary.file = "{_asset_path}/bcs/muphi2d.dat"
parameters.arrayFile = fft_field_muphi.h5
grid.mappingFile = "{_asset_path}/maps/muphi.h5"
grid.mappingFileDataset = field
parameters.file = "{_asset_path}/param/param.yml"
boundary.file = "{_asset_path}/bcs/infiltration_2d.dat"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment