Merge pull request #4207 from atgeirr/fix-schedule-multflt-fastassembly

Fix case with MULTFLT in SCHEDULE for the TpfaLinearizer ("fast assembly" path)
This commit is contained in:
Bård Skaflestad 2022-10-27 18:17:24 +02:00 committed by GitHub
commit dc2f8685d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -1084,6 +1084,7 @@ public:
this->referencePorosity_[1] = this->referencePorosity_[0];
updateReferencePorosity_();
updatePffDofData_();
this->model().linearizer().updateDiscretizationParameters();
}
bool tuningEvent = this->beginEpisode_(enableExperiments, this->episodeIndex());

View File

@ -457,6 +457,13 @@ add_test_compareECLFiles(CASENAME multflt_model2
REL_TOL ${rel_tol}
DIR model2)
add_test_compareECLFiles(CASENAME multflt_sched_model2
FILENAME 3_A_MPI_MULTFLT_SCHED_MODEL2
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
DIR model2)
add_test_compareECLFiles(CASENAME multpvv_model2
FILENAME 4_MINPVV_MODEL2
SIMULATOR flow

View File

@ -56,7 +56,7 @@ declare -A tests
# tests[cmake_testname]="binary dirname SIMULATION_CASE
#
# The key in the dictionary must agree with the name given to the test when
# registering it with cmake in compareEclFiles.cmake. The SIMULATION_CASE should
# registering it with cmake in regressionTests.cmake. The SIMULATION_CASE should
# be the basename of the .DATA file used for the simulation.
tests[spe1]="flow spe1 SPE1CASE1"
@ -108,6 +108,7 @@ tests[0a4_grpctl_msw_model2]="flow model2 0A4_GRCTRL_LRAT_LRAT_GGR_BASE_MODEL2_M
tests[multregt_model2]="flow model2 1_MULTREGT_MODEL2"
tests[multxyz_model2]="flow model2 2_MULTXYZ_MODEL2"
tests[multflt_model2]="flow model2 3_MULTFLT_MODEL2"
tests[multflt_sched_model2]="flow model2 3_A_MPI_MULTFLT_SCHED_MODEL2"
tests[multpvv_model2]="flow model2 4_MINPVV_MODEL2"
tests[swatinit_model2]="flow model2 5_SWATINIT_MODEL2"
tests[endscale_model2]="flow model2 6_ENDSCALE_MODEL2"