MultisegmentWell: primary variables no longer needs to be marked mutable

This commit is contained in:
Arne Morten Kvarving 2022-12-16 15:05:06 +01:00
parent f782673b2d
commit f4c2aa3a35

View File

@ -219,10 +219,10 @@ protected:
// the values for the primary varibles
// based on different solutioin strategies, the wells can have different primary variables
mutable std::vector<std::array<double, numWellEq> > primary_variables_;
std::vector<std::array<double, numWellEq> > primary_variables_;
// the Evaluation for the well primary variables, which contain derivativles and are used in AD calculation
mutable std::vector<std::array<EvalWell, numWellEq> > primary_variables_evaluation_;
std::vector<std::array<EvalWell, numWellEq> > primary_variables_evaluation_;
// the upwinding segment for each segment based on the flow direction
std::vector<int> upwinding_segments_;