mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-30 13:03:49 -06:00
blackoil model: make it work with grid managers other than EclGridManager
and for discretizarions other than ECFV...
This commit is contained in:
parent
f53b7e09ea
commit
de6a04038b
@ -241,6 +241,10 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !HAVE_ERT
|
||||||
|
OPM_THROW(std::runtime_error,
|
||||||
|
"The ERT libraries must be available to write Eclipse output!");
|
||||||
|
#else
|
||||||
ErtRestartFile restartFile(simulator_, reportStepIdx_);
|
ErtRestartFile restartFile(simulator_, reportStepIdx_);
|
||||||
restartFile.writeHeader(simulator_, reportStepIdx_);
|
restartFile.writeHeader(simulator_, reportStepIdx_);
|
||||||
|
|
||||||
@ -260,6 +264,7 @@ public:
|
|||||||
|
|
||||||
// next time we take the next report step
|
// next time we take the next report step
|
||||||
++ reportStepIdx_;
|
++ reportStepIdx_;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user