changed: build polygrid simulator as a object library

allows for building in parallel with the main library
This commit is contained in:
Arne Morten Kvarving
2021-08-16 12:40:41 +02:00
parent 46087f8f00
commit c05f67a382
4 changed files with 77 additions and 12 deletions

View File

@@ -17,19 +17,9 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <opm/simulators/flow/Main.hpp>
namespace Opm::Properties {
namespace TTag {
struct EclFlowProblemPoly {
using InheritsFrom = std::tuple<EclFlowProblem>;
};
}
}
#include <flow/flow_ebos_blackoil_poly.hpp>
int main(int argc, char** argv)
{
using TypeTag = Opm::Properties::TTag::EclFlowProblemPoly;
auto mainObject = Opm::Main(argc, argv);
return mainObject.runStatic<TypeTag>();
return Opm::flowEbosBlackoilPolyMain(argc, argv);
}