mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
separate spe1 cases in data update
spe11 for spe1 case 1 spe12 for spe1 case 2
This commit is contained in:
parent
69f84075f5
commit
1812bf240e
@ -111,7 +111,7 @@ echo " "
|
||||
echo " "
|
||||
echo ">>> To update opm-data, please use the following command <<<"
|
||||
echo " "
|
||||
echo "configuration=serial WORKSPACE=$WORKSPACE $SCRIPT_PATH/update_reference_data.sh $WORKSPACE/deps/opm-data [spe1] [spe3] [spe9]"
|
||||
echo "configuration=serial WORKSPACE=$WORKSPACE $SCRIPT_PATH/update_reference_data.sh $WORKSPACE/deps/opm-data [spe11] [spe12] [spe3] [spe9]"
|
||||
echo " "
|
||||
|
||||
echo ">>> To plot difference between new and old data, usse the following <<<"
|
||||
|
@ -19,16 +19,19 @@ copyToReferenceDir () {
|
||||
}
|
||||
|
||||
for test_name in ${@:2}; do
|
||||
if grep -q "spe1" <<< $test_name
|
||||
if grep -q "spe11" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_sequential+spe1/ \
|
||||
$OPM_DATA_ROOT/spe1/opm-simulation-reference/ \
|
||||
SPE1CASE1 \
|
||||
EGRID INIT SMSPEC UNRST UNSMRY
|
||||
fi
|
||||
|
||||
if grep -q "spe12" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_sequential+spe1/ \
|
||||
$configuration/build-opm-simulators/tests/results/flow+spe1/ \
|
||||
$OPM_DATA_ROOT/spe1/opm-simulation-reference/ \
|
||||
SPE1CASE2 \
|
||||
EGRID INIT SMSPEC UNRST UNSMRY
|
||||
|
Loading…
Reference in New Issue
Block a user