20 #ifndef OPM_SIMULATORPOLYMER_HEADER_INCLUDED
21 #define OPM_SIMULATORPOLYMER_HEADER_INCLUDED
23 #include <opm/core/simulator/SimulatorReport.hpp>
24 #include <boost/shared_ptr.hpp>
27 struct UnstructuredGrid;
29 struct FlowBoundaryConditions;
34 class IncompPropertiesInterface;
35 class PolymerProperties;
36 class RockCompressibility;
38 class PolymerInflowInterface;
39 class LinearSolverInterface;
43 struct SimulatorReport;
76 const UnstructuredGrid& grid,
77 const IncompPropertiesInterface& props,
79 const RockCompressibility* rock_comp_props,
80 WellsManager& wells_manager,
82 const std::vector<double>& src,
83 const FlowBoundaryConditions* bcs,
84 LinearSolverInterface& linsolver,
85 const double* gravity);
97 WellState& well_state);
104 {
return failureReport_; }
109 SimulatorReport failureReport_;
112 boost::shared_ptr<Impl> pimpl_;
117 #endif // OPM_SIMULATORPOLYMER_HEADER_INCLUDED
const SimulatorReport & failureReport() const
return the statistics if the nonlinearIteration() method failed.
Definition: SimulatorPolymer.hpp:103
Definition: PolymerProperties.hpp:43
Interface for classes encapsulating polymer inflow information.
Definition: PolymerInflow.hpp:38
Simulator state for a two-phase simulator with polymer.
Definition: PolymerState.hpp:32
SimulatorReport run(SimulatorTimer &timer, PolymerState &state, WellState &well_state)
Run the simulation.
Definition: SimulatorPolymer.cpp:169
Class collecting all necessary components for a two-phase simulation.
Definition: SimulatorPolymer.hpp:46
SimulatorPolymer(const ParameterGroup ¶m, const UnstructuredGrid &grid, const IncompPropertiesInterface &props, const PolymerProperties &poly_props, const RockCompressibility *rock_comp_props, WellsManager &wells_manager, const PolymerInflowInterface &polymer_inflow, const std::vector< double > &src, const FlowBoundaryConditions *bcs, LinearSolverInterface &linsolver, const double *gravity)
Initialise from parameters and objects to observe.
Definition: SimulatorPolymer.cpp:150
Definition: SimulatorTimer.hpp:34