changed: use runStatic in python simulator

This commit is contained in:
Arne Morten Kvarving 2021-11-10 09:50:55 +01:00
parent fcb6ee60fb
commit 3a512c0f20

View File

@ -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,