From 9ed590d3ca2b8a48072103a0e070f015347754d0 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Sat, 16 Jan 2021 14:40:49 +0100 Subject: [PATCH] [test][2p1c] Dissolve implicit folder --- test/porousmediumflow/2p1c/CMakeLists.txt | 49 ++++++++++++++++++- .../2p1c/implicit/CMakeLists.txt | 48 ------------------ .../2p1c/{implicit => }/main.cc | 0 .../2p1c/{implicit => }/params_box.input | 0 .../2p1c/{implicit => }/params_tpfa.input | 0 .../2p1c/{implicit => }/problem.hh | 0 .../2p1c/{implicit => }/spatialparams.hh | 0 7 files changed, 48 insertions(+), 49 deletions(-) delete mode 100644 test/porousmediumflow/2p1c/implicit/CMakeLists.txt rename test/porousmediumflow/2p1c/{implicit => }/main.cc (100%) rename test/porousmediumflow/2p1c/{implicit => }/params_box.input (100%) rename test/porousmediumflow/2p1c/{implicit => }/params_tpfa.input (100%) rename test/porousmediumflow/2p1c/{implicit => }/problem.hh (100%) rename test/porousmediumflow/2p1c/{implicit => }/spatialparams.hh (100%) diff --git a/test/porousmediumflow/2p1c/CMakeLists.txt b/test/porousmediumflow/2p1c/CMakeLists.txt index 52318c8c08..c0c79aeec0 100644 --- a/test/porousmediumflow/2p1c/CMakeLists.txt +++ b/test/porousmediumflow/2p1c/CMakeLists.txt @@ -1 +1,48 @@ -add_subdirectory(implicit) +#add links to input files +add_input_file_links() + +add_executable(test_2p1cni_steaminjection_tpfa EXCLUDE_FROM_ALL main.cc) +target_compile_definitions(test_2p1cni_steaminjection_tpfa PUBLIC "TYPETAG=TwoPOneCNICCTpfa") + +add_executable(test_2p1cni_steaminjection_box EXCLUDE_FROM_ALL main.cc) +target_compile_definitions(test_2p1cni_steaminjection_box PUBLIC "TYPETAG=TwoPOneCNIBox") + +dumux_add_test(NAME test_2p1cni_steaminjection_waterwet_box + LABELS porousmediumflow 2p1c 2p1cni + TARGET test_2p1cni_steaminjection_box + COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py + CMD_ARGS --script fuzzy + --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_waterwet_box-reference.vtu + ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_waterwet_box-00007.vtu + --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_box params_box.input -Problem.Name test_2p1cni_steaminjection_waterwet_box") + +dumux_add_test(NAME test_2p1cni_steaminjection_waterwet_tpfa + LABELS porousmediumflow 2p1c 2p1cni + TARGET test_2p1cni_steaminjection_tpfa + COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py + CMD_ARGS --script fuzzy + --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_waterwet_tpfa-reference.vtu + ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_waterwet_tpfa-00009.vtu + --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_tpfa params_tpfa.input -Problem.Name test_2p1cni_steaminjection_waterwet_tpfa") + +dumux_add_test(NAME test_2p1cni_steaminjection_gaswet_box + LABELS porousmediumflow 2p1c 2p1cni + TARGET test_2p1cni_steaminjection_box + COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py + CMD_ARGS --script fuzzy + --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_gaswet_box-reference.vtu + ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_gaswet_box-00005.vtu + --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_box params_box.input + -Problem.Name test_2p1cni_steaminjection_gaswet_box + -SpatialParams.GasWetting true") + +dumux_add_test(NAME test_2p1cni_steaminjection_gaswet_tpfa + LABELS porousmediumflow 2p1c 2p1cni + TARGET test_2p1cni_steaminjection_tpfa + COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py + CMD_ARGS --script fuzzy + --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_gaswet_tpfa-reference.vtu + ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_gaswet_tpfa-00005.vtu + --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_tpfa params_tpfa.input + -Problem.Name test_2p1cni_steaminjection_gaswet_tpfa + -SpatialParams.GasWetting true") diff --git a/test/porousmediumflow/2p1c/implicit/CMakeLists.txt b/test/porousmediumflow/2p1c/implicit/CMakeLists.txt deleted file mode 100644 index c0c79aeec0..0000000000 --- a/test/porousmediumflow/2p1c/implicit/CMakeLists.txt +++ /dev/null @@ -1,48 +0,0 @@ -#add links to input files -add_input_file_links() - -add_executable(test_2p1cni_steaminjection_tpfa EXCLUDE_FROM_ALL main.cc) -target_compile_definitions(test_2p1cni_steaminjection_tpfa PUBLIC "TYPETAG=TwoPOneCNICCTpfa") - -add_executable(test_2p1cni_steaminjection_box EXCLUDE_FROM_ALL main.cc) -target_compile_definitions(test_2p1cni_steaminjection_box PUBLIC "TYPETAG=TwoPOneCNIBox") - -dumux_add_test(NAME test_2p1cni_steaminjection_waterwet_box - LABELS porousmediumflow 2p1c 2p1cni - TARGET test_2p1cni_steaminjection_box - COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py - CMD_ARGS --script fuzzy - --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_waterwet_box-reference.vtu - ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_waterwet_box-00007.vtu - --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_box params_box.input -Problem.Name test_2p1cni_steaminjection_waterwet_box") - -dumux_add_test(NAME test_2p1cni_steaminjection_waterwet_tpfa - LABELS porousmediumflow 2p1c 2p1cni - TARGET test_2p1cni_steaminjection_tpfa - COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py - CMD_ARGS --script fuzzy - --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_waterwet_tpfa-reference.vtu - ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_waterwet_tpfa-00009.vtu - --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_tpfa params_tpfa.input -Problem.Name test_2p1cni_steaminjection_waterwet_tpfa") - -dumux_add_test(NAME test_2p1cni_steaminjection_gaswet_box - LABELS porousmediumflow 2p1c 2p1cni - TARGET test_2p1cni_steaminjection_box - COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py - CMD_ARGS --script fuzzy - --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_gaswet_box-reference.vtu - ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_gaswet_box-00005.vtu - --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_box params_box.input - -Problem.Name test_2p1cni_steaminjection_gaswet_box - -SpatialParams.GasWetting true") - -dumux_add_test(NAME test_2p1cni_steaminjection_gaswet_tpfa - LABELS porousmediumflow 2p1c 2p1cni - TARGET test_2p1cni_steaminjection_tpfa - COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py - CMD_ARGS --script fuzzy - --files ${CMAKE_SOURCE_DIR}/test/references/test_2p1cni_steaminjection_gaswet_tpfa-reference.vtu - ${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_gaswet_tpfa-00005.vtu - --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_steaminjection_tpfa params_tpfa.input - -Problem.Name test_2p1cni_steaminjection_gaswet_tpfa - -SpatialParams.GasWetting true") diff --git a/test/porousmediumflow/2p1c/implicit/main.cc b/test/porousmediumflow/2p1c/main.cc similarity index 100% rename from test/porousmediumflow/2p1c/implicit/main.cc rename to test/porousmediumflow/2p1c/main.cc diff --git a/test/porousmediumflow/2p1c/implicit/params_box.input b/test/porousmediumflow/2p1c/params_box.input similarity index 100% rename from test/porousmediumflow/2p1c/implicit/params_box.input rename to test/porousmediumflow/2p1c/params_box.input diff --git a/test/porousmediumflow/2p1c/implicit/params_tpfa.input b/test/porousmediumflow/2p1c/params_tpfa.input similarity index 100% rename from test/porousmediumflow/2p1c/implicit/params_tpfa.input rename to test/porousmediumflow/2p1c/params_tpfa.input diff --git a/test/porousmediumflow/2p1c/implicit/problem.hh b/test/porousmediumflow/2p1c/problem.hh similarity index 100% rename from test/porousmediumflow/2p1c/implicit/problem.hh rename to test/porousmediumflow/2p1c/problem.hh diff --git a/test/porousmediumflow/2p1c/implicit/spatialparams.hh b/test/porousmediumflow/2p1c/spatialparams.hh similarity index 100% rename from test/porousmediumflow/2p1c/implicit/spatialparams.hh rename to test/porousmediumflow/2p1c/spatialparams.hh -- GitLab