20 #ifndef OPM_SIMULATORINCOMPTWOPHASE_HEADER_INCLUDED
21 #define OPM_SIMULATORINCOMPTWOPHASE_HEADER_INCLUDED
27 struct UnstructuredGrid;
29 struct FlowBoundaryConditions;
34 class IncompPropertiesInterface;
35 class RockCompressibility;
37 class LinearSolverInterface;
41 struct SimulatorReport;
73 const UnstructuredGrid& grid,
74 const IncompPropertiesInterface& props,
75 const RockCompressibility* rock_comp_props,
76 WellsManager& wells_manager,
77 const std::vector<double>& src,
78 const FlowBoundaryConditions* bcs,
79 LinearSolverInterface& linsolver,
80 const double* gravity);
91 WellState& well_state);
120 Event& timestep_completed ();
139 std::shared_ptr<Impl> pimpl_;
144 #endif // OPM_SIMULATORINCOMPTWOPHASE_HEADER_INCLUDED
SimulatorIncompTwophase(const ParameterGroup ¶m, const UnstructuredGrid &grid, const IncompPropertiesInterface &props, const RockCompressibility *rock_comp_props, WellsManager &wells_manager, const std::vector< double > &src, const FlowBoundaryConditions *bcs, LinearSolverInterface &linsolver, const double *gravity)
Initialise from parameters and objects to observe.
Definition: SimulatorIncompTwophase.cpp:119
Class collecting all necessary components for a two-phase simulation.
Definition: SimulatorIncompTwophase.hpp:45
void sync()
Notify the simulator that a callback has an interest in reading for reporting purposes the contents o...
Definition: SimulatorIncompTwophase.cpp:150
SimulatorReport run(SimulatorTimer &timer, TwophaseState &state, WellState &well_state)
Run the simulation.
Definition: SimulatorIncompTwophase.cpp:136
Definition: SimulatorIncompTwophase.cpp:68
Definition: SimulatorTimer.hpp:34