23#ifndef OPM_WELLINTERFACE_INDICES_HEADER_INCLUDED
24#define OPM_WELLINTERFACE_INDICES_HEADER_INCLUDED
26#include <opm/material/densead/Evaluation.hpp>
28#include <opm/simulators/wells/WellInterfaceFluidSystem.hpp>
32template<
class Flu
idSystem,
class Indices>
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 int 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());
62 const ModelParameters& param,
64 const int pvtRegionIdx,
Class encapsulating some information about parallel wells.
Definition ParallelWellInfo.hpp:195
Convert component rates at surface conditions to phase (voidage) rates at reservoir conditions.
Definition RateConverter.hpp:71
Definition WellInterfaceFluidSystem.hpp:51
Definition WellInterfaceIndices.hpp:34
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
Static data associated with a well perforation.
Definition PerforationData.hpp:30