mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-01 12:06:54 -06:00
changed: use runStatic in python simulator
This commit is contained in:
parent
fcb6ee60fb
commit
3a512c0f20
@ -75,7 +75,7 @@ py::array_t<double> PyBlackOilSimulator::getPorosity()
|
||||
int PyBlackOilSimulator::run()
|
||||
{
|
||||
auto mainObject = Opm::Main( deckFilename_ );
|
||||
return mainObject.runDynamic();
|
||||
return mainObject.runStatic<Opm::Properties::TTag::EclFlowProblem>();
|
||||
}
|
||||
|
||||
void PyBlackOilSimulator::setPorosity( py::array_t<double,
|
||||
|
Loading…
Reference in New Issue
Block a user