20 #ifndef OPM_INCOMPTPFA_HEADER_INCLUDED
21 #define OPM_INCOMPTPFA_HEADER_INCLUDED
34 class IncompPropertiesInterface;
35 class RockCompressibility;
36 class LinearSolverInterface;
70 const std::vector<double>& src,
96 const double residual_tol,
97 const double change_tol,
99 const double* gravity,
101 const std::vector<double>& src,
114 void solve(
const double dt,
133 void computeStaticData();
134 virtual void computePerSolveDynamicData(
const double dt,
137 void computePerIterationDynamicData(
const double dt,
140 void assemble(
const double dt,
143 void solveIncrement();
144 double residualNorm()
const;
145 double incrementNorm()
const;
160 const std::vector<double>&
src_;
186 #endif // OPM_INCOMPTPFA_HEADER_INCLUDED
Definition: IncompPropertiesInterface.hpp:35
Definition: AnisotropicEikonal.hpp:43
std::vector< double > porevol_
Definition: IncompTpfa.hpp:176
struct ifs_tpfa_forces forces_
Definition: IncompTpfa.hpp:173
std::vector< double > pressures_
Definition: IncompTpfa.hpp:178
Definition: ifs_tpfa.h:48
std::vector< double > htrans_
Definition: IncompTpfa.hpp:162
const RockCompressibility * rock_comp_props_
Definition: IncompTpfa.hpp:153
const std::vector< double > & src_
Definition: IncompTpfa.hpp:160
const double residual_tol_
Definition: IncompTpfa.hpp:155
const UnstructuredGrid & grid_
Definition: IncompTpfa.hpp:151
std::vector< double > omega_
Definition: IncompTpfa.hpp:170
const int maxiter_
Definition: IncompTpfa.hpp:157
std::vector< int > allcells_
Definition: IncompTpfa.hpp:164
const Wells * wells_
Definition: IncompTpfa.hpp:159
std::vector< double > gpress_omegaweighted_
Definition: IncompTpfa.hpp:171
std::vector< double > initial_porevol_
Definition: IncompTpfa.hpp:172
Simulator state for a two-phase simulator.
Definition: TwophaseState.hpp:30
Definition: RockCompressibility.hpp:33
std::vector< double > wdp_
Definition: IncompTpfa.hpp:168
Definition: IncompTpfa.hpp:47
struct ifs_tpfa_data * h_
Definition: IncompTpfa.hpp:181
std::vector< double > totmob_
Definition: IncompTpfa.hpp:169
const std::vector< double > & getHalfTrans() const
Expose read-only reference to internal half-transmissibility.
Definition: IncompTpfa.hpp:120
std::vector< double > rock_comp_
Definition: IncompTpfa.hpp:177
The state of a set of wells.
Definition: WellState.hpp:36
const double gravity
Definition: Units.hpp:120
std::vector< double > trans_
Definition: IncompTpfa.hpp:167
const FlowBoundaryConditions * bcs_
Definition: IncompTpfa.hpp:161
const UnstructuredGrid & grid
Definition: ColumnExtract.hpp:31
Definition: ifs_tpfa.h:70
const IncompPropertiesInterface & props_
Definition: IncompTpfa.hpp:152
std::vector< double > gpress_
Definition: IncompTpfa.hpp:163
void solveIncomp(const double dt, TwophaseState &state, WellState &well_state)
Abstract interface for linear solvers.
Definition: LinearSolverInterface.hpp:32
const double * gravity_
Definition: IncompTpfa.hpp:158
void solve(const double dt, TwophaseState &state, WellState &well_state)
IncompTpfa(const UnstructuredGrid &grid, const IncompPropertiesInterface &props, LinearSolverInterface &linsolver, const double *gravity, const Wells *wells, const std::vector< double > &src, const FlowBoundaryConditions *bcs)
virtual ~IncompTpfa()
Destructor.
const LinearSolverInterface & linsolver_
Definition: IncompTpfa.hpp:154
const double change_tol_
Definition: IncompTpfa.hpp:156
void solveRockComp(const double dt, TwophaseState &state, WellState &well_state)