20#ifndef OPM_INCOMPTPFAPOLYMER_HEADER_INCLUDED
21#define OPM_INCOMPTPFAPOLYMER_HEADER_INCLUDED
24#include <opm/core/pressure/IncompTpfa.hpp>
27struct UnstructuredGrid;
29struct 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);
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_;
Definition: IncompTpfaPolymer.hpp:49
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)
void solve(const double dt, PolymerState &state, WellState &well_state)
Definition: PolymerProperties.hpp:35
Simulator state for a two-phase simulator with polymer.
Definition: PolymerState.hpp:33
Definition: CompressibleTpfaPolymer.hpp:33