mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
21 lines
889 B
CMake
21 lines
889 B
CMake
# Regression tests
|
|
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-comparison.sh "")
|
|
|
|
# Use same tolerances as in regressionTests
|
|
set(abs_tol 2e-2)
|
|
set(rel_tol 1e-5)
|
|
set(coarse_rel_tol 1e-2)
|
|
|
|
# Tests comparing VFPTABLE oneliner vs multiliner lift curves (constant delta pressure)
|
|
add_test_compareSeparateECLFiles(CASENAME spe1_metric_vfp1_multiliner_vs_oneliner
|
|
DIR1 vfpprod_spe1_oneliner
|
|
FILENAME1 SPE1CASE1_METRIC_VFP1_MULTILINER
|
|
DIR2 vfpprod_spe1_oneliner
|
|
FILENAME2 SPE1CASE1_METRIC_VFP1_ONELINER
|
|
SIMULATOR flow
|
|
ABS_TOL ${abs_tol}
|
|
REL_TOL ${rel_tol}
|
|
IGNORE_EXTRA_KW BOTH
|
|
MPI_PROCS 1)
|
|
|