20 #ifndef OPM_INCOMPTPFASINGLEPHASE_HEADER_INCLUDED
21 #define OPM_INCOMPTPFASINGLEPHASE_HEADER_INCLUDED
27 struct UnstructuredGrid;
33 class IncompPropertiesSinglePhase;
34 class LinearSolverInterface;
60 void solve(std::vector<double>& press,
61 std::vector<double>& flux,
62 std::vector<double>& bhp,
63 std::vector<double>& wellrates);
67 void computeStaticData();
68 void computePerSolveDynamicData();
72 const UnstructuredGrid& grid_;
76 std::vector<double> htrans_;
77 std::vector<double> trans_ ;
78 std::vector<double> zeros_;
79 std::vector<double> totmob_;
88 #endif // OPM_INCOMPTPFASINGLEPHASE_HEADER_INCLUDED
IncompTpfaSinglePhase(const UnstructuredGrid &grid, const IncompPropertiesSinglePhase &props, const LinearSolverInterface &linsolver, const Wells &wells)
Construct solver for incompressible case.
Definition: IncompTpfaSinglePhase.cpp:51
void solve(std::vector< double > &press, std::vector< double > &flux, std::vector< double > &bhp, std::vector< double > &wellrates)
Solve the pressure equation.
Definition: IncompTpfaSinglePhase.cpp:83
Abstract interface for linear solvers.
Definition: LinearSolverInterface.hpp:32
Interfaces and data structures to assemble a system of simultaneous linear equations discretising a f...
Data structure aggregating static information about all wells in a scenario.
Definition: wells.h:50
Main data structure presenting a view of an assembled system of simultaneous linear equations which m...
Definition: ifs_tpfa.h:48
Driving forces pertaining to a particular model setup.
Definition: ifs_tpfa.h:70
Encapsulating a tpfa pressure solver for the incompressible-fluid case.
Definition: IncompTpfaSinglePhase.hpp:43
~IncompTpfaSinglePhase()
Destructor.
Definition: IncompTpfaSinglePhase.cpp:72
Concrete class implementing the incompressible property interface for a simplified single-phase setti...
Definition: IncompPropertiesSinglePhase.hpp:47