mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #597 from akva2/no_serialization_fluidsystem
changed: pass the Schedule through the SolventModule::initFromDeck method
This commit is contained in:
commit
c0aab4a26a
@ -96,7 +96,8 @@ public:
|
||||
/*!
|
||||
* \brief Initialize all internal data structures needed by the solvent module
|
||||
*/
|
||||
static void initFromDeck(const Opm::Deck& deck, const Opm::EclipseState& eclState)
|
||||
static void initFromDeck(const Opm::Deck& deck, const Opm::EclipseState& eclState,
|
||||
const Schedule& schedule)
|
||||
{
|
||||
// some sanity checks: if solvents are enabled, the SOLVENT keyword must be
|
||||
// present, if solvents are disabled the keyword must not be present.
|
||||
@ -110,7 +111,7 @@ public:
|
||||
if (!deck.hasKeyword("SOLVENT"))
|
||||
return; // solvent treatment is supposed to be disabled
|
||||
|
||||
solventPvt_.initFromDeck(deck, eclState);
|
||||
solventPvt_.initFromState(eclState, schedule);
|
||||
|
||||
const auto& tableManager = eclState.getTableManager();
|
||||
// initialize the objects which deal with the SSFN keyword
|
||||
|
Loading…
Reference in New Issue
Block a user