Skip to content
Snippets Groups Projects
Commit 04922a7f authored by Timo Koch's avatar Timo Koch
Browse files

[test][1pni] Fix zerothreshold

parent 92e880a4
No related branches found
No related tags found
1 merge request!3353Feature/fieldcompare
......@@ -10,7 +10,7 @@ dumux_add_test(NAME test_1pni_conduction_box
--files ${CMAKE_SOURCE_DIR}/test/references/test_1pni_conduction_box-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_1pni_conduction_box-00005.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_1pni_conduction_box params_conduction.input -Problem.Name test_1pni_conduction_box"
--zeroThreshold {"velocity_liq":1e-8})
--zeroThreshold {"velocity_liq \(m/s\)":1e-8})
add_executable(test_1pni_convection_box EXCLUDE_FROM_ALL main.cc)
target_compile_definitions(test_1pni_convection_box PUBLIC TYPETAG=OnePNIConvectionBox)
......@@ -23,7 +23,7 @@ dumux_add_test(NAME test_1pni_convection_box
--files ${CMAKE_SOURCE_DIR}/test/references/test_1pni_convection_box-reference.vtp
${CMAKE_CURRENT_BINARY_DIR}/test_1pni_convection_box-00009.vtp
--command "${CMAKE_CURRENT_BINARY_DIR}/test_1pni_convection_box params_convection.input -Problem.Name test_1pni_convection_box"
--zeroThreshold {"velocity":1e-15})
--zeroThreshold {"velocity_liq \(m/s\)":1e-15})
dumux_add_test(NAME test_1pni_convection_box_restart
TARGET test_1pni_convection_box
......@@ -33,7 +33,7 @@ dumux_add_test(NAME test_1pni_convection_box_restart
--files ${CMAKE_SOURCE_DIR}/test/references/test_1pni_convection_box-reference.vtp
${CMAKE_CURRENT_BINARY_DIR}/test_1pni_convection_box_restart-00004.vtp
--command "${CMAKE_CURRENT_BINARY_DIR}/test_1pni_convection_box params_convection.input -Problem.Name test_1pni_convection_box_restart -TimeLoop.DtInitial 1000 -Restart.Time 16768 -Restart.File test_1pni_convection_box-00006.vtp"
--zeroThreshold {"velocity":1e-15})
--zeroThreshold {"velocity_liq \(m/s\)":1e-15})
# the restart test has to run after the test that produces the corresponding vtu file
set_tests_properties(test_1pni_convection_box_restart PROPERTIES DEPENDS test_1pni_convection_box)
......@@ -47,7 +47,7 @@ dumux_add_test(NAME test_1pni_conduction_tpfa
--files ${CMAKE_SOURCE_DIR}/test/references/test_1pni_conduction_cc-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_1pni_conduction_tpfa-00005.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_1pni_conduction_tpfa params_conduction.input -Problem.Name test_1pni_conduction_tpfa"
--zeroThreshold {"velocity":1e-8})
--zeroThreshold {"velocity_liq \(m/s\)":1e-8})
dumux_add_test(NAME test_1pni_convection_tpfa
LABELS porousmediumflow 1p 1pni
......
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