20 #ifndef OPM_INITSTATE_HEADER_INCLUDED
21 #define OPM_INITSTATE_HEADER_INCLUDED
23 #include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
25 struct UnstructuredGrid;
31 class IncompPropertiesInterface;
32 class BlackoilPropertiesInterface;
33 class SimulationDataContainer;
46 enum ExtremalSat { MinSat, MaxSat };
47 template <
class Props>
48 static void initSaturation(
const std::vector<int>& cells ,
const Props& props , SimulationDataContainer& state , ExtremalSat satType);
75 template <
class State>
76 void initStateBasic(
const UnstructuredGrid& grid,
77 const IncompPropertiesInterface& props,
78 const ParameterGroup& param,
106 template <
class FaceCells,
class CCI,
class FCI,
class State>
107 void initStateBasic(
int number_of_cells,
108 const int* global_cell,
111 FaceCells face_cells,
112 FCI begin_face_centroids,
113 CCI begin_cell_centroids,
115 const IncompPropertiesInterface& props,
116 const ParameterGroup& param,
117 const double gravity,
136 template <
class State>
137 void initStateBasic(
const UnstructuredGrid& grid,
138 const BlackoilPropertiesInterface& props,
139 const ParameterGroup& param,
140 const double gravity,
159 template <
class FaceCells,
class FCI,
class CCI,
class State>
160 void initStateBasic(
int number_of_cells,
161 const int* global_cell,
164 FaceCells face_cells,
165 FCI begin_face_centroids,
166 CCI begin_cell_centroids,
168 const BlackoilPropertiesInterface& props,
169 const ParameterGroup& param,
170 const double gravity,
180 template <
class Props,
class State>
181 void initStateFromDeck(
const UnstructuredGrid& grid,
183 const EclipseState& es,
184 const double gravity,
195 template <
class Props,
class State>
196 void initBlackoilStateFromDeck(
const UnstructuredGrid& grid,
198 const Opm::EclipseState& es,
199 const double gravity,
202 template <
class FaceCells,
class FCI,
class CCI,
class Props,
class State>
203 void initBlackoilStateFromDeck(
int number_of_cells,
204 const int* global_cell,
206 FaceCells face_cells,
207 FCI begin_face_centroids,
208 CCI begin_cell_centroids,
211 const Opm::EclipseState& es,
212 const double gravity,
216 #include <opm/core/simulator/initState_impl.hpp>
218 #endif // OPM_INITSTATE_HEADER_INCLUDED