20 #ifndef OPM_INCOMPTPFAPOLYMER_HEADER_INCLUDED
21 #define OPM_INCOMPTPFAPOLYMER_HEADER_INCLUDED
24 #include <opm/core/pressure/IncompTpfa.hpp>
27 struct UnstructuredGrid;
29 struct FlowBoundaryConditions;
34 class IncompPropertiesInterface;
35 class RockCompressibility;
36 class PolymerProperties;
37 class LinearSolverInterface;
40 class SimulationDataContainer;
74 const IncompPropertiesInterface& props,
75 const RockCompressibility* rock_comp_props,
77 LinearSolverInterface& linsolver,
78 const double residual_tol,
79 const double change_tol,
81 const double* gravity,
83 const std::vector<double>& src,
84 const FlowBoundaryConditions* bcs);
94 void solve(
const double dt,
96 WellState& well_state);
99 virtual void computePerSolveDynamicData(
const double dt,
100 const SimulationDataContainer& state,
101 const WellState& well_state);
106 const std::vector<double>* c_;
107 const std::vector<double>* cmax_;
112 #endif // OPM_INCOMPTPFAPOLYMER_HEADER_INCLUDED
IncompTpfaPolymer(const UnstructuredGrid &grid, const IncompPropertiesInterface &props, const RockCompressibility *rock_comp_props, const PolymerProperties &poly_props, LinearSolverInterface &linsolver, const double residual_tol, const double change_tol, const int maxiter, const double *gravity, const Wells *wells, const std::vector< double > &src, const FlowBoundaryConditions *bcs)
Construct solver, possibly with rock compressibility.
Definition: IncompTpfaPolymer.cpp:69
Definition: PolymerProperties.hpp:43
Simulator state for a two-phase simulator with polymer.
Definition: PolymerState.hpp:32
void solve(const double dt, PolymerState &state, WellState &well_state)
Solve the pressure equation.
Definition: IncompTpfaPolymer.cpp:100
Encapsulating a tpfa pressure solver for the incompressible-fluid case with polymer.
Definition: IncompTpfaPolymer.hpp:49