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;
73 const IncompPropertiesInterface& props,
74 const RockCompressibility* rock_comp_props,
76 LinearSolverInterface& linsolver,
77 const double residual_tol,
78 const double change_tol,
80 const double* gravity,
82 const std::vector<double>& src,
83 const FlowBoundaryConditions* bcs);
93 void solve(
const double dt,
95 WellState& well_state);
98 virtual void computePerSolveDynamicData(
const double dt,
99 const TwophaseState& state,
100 const WellState& well_state);
105 const std::vector<double>* c_;
106 const std::vector<double>* cmax_;
111 #endif // OPM_INCOMPTPFAPOLYMER_HEADER_INCLUDED
Definition: CompressibleTpfaPolymer.hpp:32
Simulator state for a two-phase simulator with polymer.
Definition: PolymerState.hpp:32
Definition: PolymerProperties.hpp:34
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)
Definition: IncompTpfaPolymer.hpp:48
void solve(const double dt, PolymerState &state, WellState &well_state)