opm-simulators/pyactionComparisons.cmake
Bård Skaflestad fd4ac412a6
Merge pull request #5366 from lisajulia/feature/pyAction-insert-kw-GCONSUMP
Add pyaction/PYACTION_GCONSUMP_INSERT_KW.DATA to pyactionComparisons.…
2024-05-21 11:56:49 +02:00

97 lines
4.6 KiB
CMake

# Regression tests
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-comparison.sh "")
# Set absolute tolerance to be used passed to the macros in the following tests
set(abs_tol 1e+5)
set(rel_tol 2e-5)
set(coarse_rel_tol 1e-2)
add_test_compareSeparateECLFiles(CASENAME pyaction_gconprod_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_GCONPROD_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_GCONPROD
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_gconsump_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_GCONSUMP_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_GCONSUMP
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_mult+_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_MULT+_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_MULT+
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_multx+_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_MULTX+_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_MULTX+
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_multx-_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_MULTX-_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_MULTX-
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_next_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_NEXT_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_NEXT
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_wconprod_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_WCONPROD_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_WCONPROD
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_wefac_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_WEFAC_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_WEFAC
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)
add_test_compareSeparateECLFiles(CASENAME pyaction_wesegvalv_insert_kw
DIR1 pyaction
FILENAME1 PYACTION_WSEGVALV_INSERT_KW
DIR2 actionx
FILENAME2 ACTIONX_WSEGVALV
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
IGNORE_EXTRA_KW BOTH)