diff --git a/opm/core/simulator/initState.hpp b/opm/core/simulator/initState.hpp index 7f323d009..4c3a8cc6a 100644 --- a/opm/core/simulator/initState.hpp +++ b/opm/core/simulator/initState.hpp @@ -20,6 +20,8 @@ #ifndef OPM_INITSTATE_HEADER_INCLUDED #define OPM_INITSTATE_HEADER_INCLUDED +#include // DeckConstPtr + struct UnstructuredGrid; namespace Opm @@ -225,6 +227,20 @@ namespace Opm const EclipseGridParser& deck, const double gravity, State& state); + + /// Initialize a blackoil state from input deck. + template + void initBlackoilStateFromDeck(int number_of_cells, + const int* global_cell, + int number_of_faces, + FaceCells face_cells, + FCI begin_face_centroids, + CCI begin_cell_centroids, + int dimensions, + const Props& props, + Opm::DeckConstPtr newParserDeck, + const double gravity, + State& state); } // namespace Opm #include