39 using Scalar =
typename FluidSystem::Scalar;
40 using Eval = DenseAd::Evaluation<Scalar, Indices::numEq>;
41 using ModelParameters =
typename WellInterfaceFluidSystem<FluidSystem>::ModelParameters;
43 int flowPhaseToModelCompIdx(
const int phaseIdx)
const;
44 int modelCompIdxToFlowCompIdx(
const unsigned compIdx)
const;
45 Scalar scalingFactor(
const int phaseIdx)
const;
47 template <
class EvalWell>
48 Eval restrictEval(
const EvalWell& in)
const
51 out.setValue(in.value());
52 for (
int eqIdx = 0; eqIdx < Indices::numEq; ++eqIdx) {
53 out.setDerivative(eqIdx, in.derivative(eqIdx));
62 const ModelParameters& param,
63 const typename WellInterfaceFluidSystem<FluidSystem>::RateConverterType& rate_converter,
64 const int pvtRegionIdx,
65 const int num_components,
67 const int index_of_well,