mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
Fixing --enable-dry-run=1
This commit is contained in:
1 parent
e3035cf4d0
commit
b770d8bf90
1 file changed
+6
-4
@@ -641,10 +641,12 @@ public:
|
||||
}
|
||||
if constexpr (enableConvectiveMixing) {
|
||||
// The ifs are here is to avoid extra calculations for
|
||||
// cases without CO2STORE and DRSDTCON.
|
||||
if (problem.simulator().vanguard().eclState().runspec().co2Storage()) {
|
||||
if (problem.drsdtconIsActive(globalSpaceIdx, problem.simulator().episodeIndex())) {
|
||||
asImp_().updateSaturatedDissolutionFactor_();
|
||||
// cases with dry runs and without CO2STORE and DRSDTCON.
|
||||
if (!problem.simulator().vanguard().eclState().getIOConfig().initOnly()) {
|
||||
if (problem.simulator().vanguard().eclState().runspec().co2Storage()) {
|
||||
if (problem.drsdtconIsActive(globalSpaceIdx, problem.simulator().episodeIndex())) {
|
||||
asImp_().updateSaturatedDissolutionFactor_();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user