MultisegmentWell: move processFractions to MultisegmentWellPrimaryVariables

This commit is contained in:
Arne Morten Kvarving
2022-12-19 09:52:48 +01:00
parent 5212e9c100
commit 6404d69201
4 changed files with 73 additions and 74 deletions

View File

@@ -90,6 +90,9 @@ public:
// the Evaluation for the well primary variables, which contain derivativles and are used in AD calculation
std::vector<std::array<EvalWell, numWellEq> > evaluation_;
//! \brief Handle non-reasonable fractions due to numerical overshoot.
void processFractions(const int seg);
private:
const WellInterfaceIndices<FluidSystem,Indices,Scalar>& well_; //!< Reference to well interface
};