updating AquiferConstantFlux with AQUFLUX

not recreating new instances to avoid unnecessary cost from constructor.
This commit is contained in:
Kai Bao
2023-02-15 23:21:05 +01:00
parent 6fa97874f8
commit 73dc31a7a5
5 changed files with 19 additions and 40 deletions

View File

@@ -268,7 +268,7 @@ namespace {
errorGuard);
}
eclipseState->appendAqufluxSchedule(schedule->getAquiferFluxListEnd());
eclipseState->appendAqufluxSchedule(schedule->getAquiferFluxSchedule());
if (Opm::OpmLog::hasBackend("STDOUT_LOGGER")) {
// loggers might not be set up!