mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use WellStateFullyImplicitBlackoil class instead of WellState.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace Opm {
|
||||
class RockCompressibility;
|
||||
class LinearSolverInterface;
|
||||
class BlackoilState;
|
||||
class WellState;
|
||||
class WellStateFullyImplicitBlackoil;
|
||||
|
||||
|
||||
/// A fully implicit solver for the black-oil problem.
|
||||
@@ -76,7 +76,7 @@ namespace Opm {
|
||||
void
|
||||
step(const double dt ,
|
||||
BlackoilState& state ,
|
||||
WellState& wstate);
|
||||
WellStateFullyImplicitBlackoil& wstate);
|
||||
|
||||
private:
|
||||
// Types and enums
|
||||
@@ -148,11 +148,11 @@ namespace Opm {
|
||||
// Private methods.
|
||||
SolutionState
|
||||
constantState(const BlackoilState& x,
|
||||
const WellState& xw);
|
||||
const WellStateFullyImplicitBlackoil& xw);
|
||||
|
||||
SolutionState
|
||||
variableState(const BlackoilState& x,
|
||||
const WellState& xw);
|
||||
const WellStateFullyImplicitBlackoil& xw);
|
||||
|
||||
void
|
||||
computeAccum(const SolutionState& state,
|
||||
@@ -160,14 +160,14 @@ namespace Opm {
|
||||
|
||||
void
|
||||
assemble(const V& dtpv,
|
||||
const BlackoilState& x ,
|
||||
const WellState& xw );
|
||||
const BlackoilState& x,
|
||||
const WellStateFullyImplicitBlackoil& xw);
|
||||
|
||||
V solveJacobianSystem() const;
|
||||
|
||||
void updateState(const V& dx,
|
||||
BlackoilState& state,
|
||||
WellState& well_state);
|
||||
WellStateFullyImplicitBlackoil& well_state);
|
||||
|
||||
std::vector<ADB>
|
||||
computePressures(const SolutionState& state) const;
|
||||
|
||||
Reference in New Issue
Block a user