mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Now computeFluxes() also sets well quantities.
Namely well_state.perfRates() and well_state.perfPress(). In the process, some overloads of fluid methods were added to take V arrays instead of ADB arrays. Simultaneously, coarsened tolerances a bit. Still hardcoded, though.
This commit is contained in:
@@ -96,12 +96,14 @@ namespace Opm {
|
||||
void solveJacobianSystem(BlackoilState& state,
|
||||
WellState& well_state) const;
|
||||
double residualNorm() const;
|
||||
void computeFluxes(BlackoilState& state) const;
|
||||
void computeFluxes(BlackoilState& state, WellState& well_state) const;
|
||||
|
||||
// Fluid interface forwarding calls to correct methods of fluid_.
|
||||
V fluidMu(const int phase, const V& p, const std::vector<int>& cells) const;
|
||||
ADB fluidMu(const int phase, const ADB& p, const std::vector<int>& cells) const;
|
||||
V fluidFvf(const int phase, const V& p, const std::vector<int>& cells) const;
|
||||
ADB fluidFvf(const int phase, const ADB& p, const std::vector<int>& cells) const;
|
||||
V fluidRho(const int phase, const V& p, const std::vector<int>& cells) const;
|
||||
ADB fluidRho(const int phase, const ADB& p, const std::vector<int>& cells) const;
|
||||
V fluidKr(const int phase) const;
|
||||
V fluidKrWell(const int phase) const;
|
||||
|
||||
Reference in New Issue
Block a user