MultisegmentWell: move getWQTotal to MultisegmentWellPrimaryVariables

also drop otherwise unused getSegmentWQTotal
This commit is contained in:
Arne Morten Kvarving
2022-12-19 09:52:48 +01:00
parent 6b47f9bf1a
commit dbdcb2d5ce
5 changed files with 12 additions and 20 deletions

View File

@@ -394,6 +394,14 @@ getQs(const int comp_idx) const
return this->getSegmentRate(0, comp_idx);
}
template<class FluidSystem, class Indices, class Scalar>
typename MultisegmentWellPrimaryVariables<FluidSystem,Indices,Scalar>::EvalWell
MultisegmentWellPrimaryVariables<FluidSystem,Indices,Scalar>::
getWQTotal() const
{
return evaluation_[0][WQTotal];
}
#define INSTANCE(...) \
template class MultisegmentWellPrimaryVariables<BlackOilFluidSystem<double,BlackOilDefaultIndexTraits>,__VA_ARGS__,double>;