Changed private->protected and added virtual to make class derivation.
This commit is contained in:
parent
73fc6afab9
commit
c93380b52f
@ -90,16 +90,15 @@ namespace Opm
|
|||||||
bool singularPressure() const;
|
bool singularPressure() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void computePerSolveDynamicData(const double dt,
|
virtual void computePerSolveDynamicData(const double dt,
|
||||||
const BlackoilState& state,
|
const BlackoilState& state,
|
||||||
const WellState& well_state);
|
const WellState& well_state);
|
||||||
void computeWellPotentials(const BlackoilState& state);
|
|
||||||
void computePerIterationDynamicData(const double dt,
|
void computePerIterationDynamicData(const double dt,
|
||||||
const BlackoilState& state,
|
const BlackoilState& state,
|
||||||
const WellState& well_state);
|
const WellState& well_state);
|
||||||
void computeCellDynamicData(const double dt,
|
virtual void computeCellDynamicData(const double dt,
|
||||||
const BlackoilState& state,
|
const BlackoilState& state,
|
||||||
const WellState& well_state);
|
const WellState& well_state);
|
||||||
void computeFaceDynamicData(const double dt,
|
void computeFaceDynamicData(const double dt,
|
||||||
const BlackoilState& state,
|
const BlackoilState& state,
|
||||||
const WellState& well_state);
|
const WellState& well_state);
|
||||||
@ -114,6 +113,8 @@ namespace Opm
|
|||||||
double incrementNorm() const;
|
double incrementNorm() const;
|
||||||
void computeResults(BlackoilState& state,
|
void computeResults(BlackoilState& state,
|
||||||
WellState& well_state) const;
|
WellState& well_state) const;
|
||||||
|
protected:
|
||||||
|
void computeWellPotentials(const BlackoilState& state);
|
||||||
|
|
||||||
// ------ Data that will remain unmodified after construction. ------
|
// ------ Data that will remain unmodified after construction. ------
|
||||||
const UnstructuredGrid& grid_;
|
const UnstructuredGrid& grid_;
|
||||||
|
Loading…
Reference in New Issue
Block a user