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>
33template<
class Flu
idSystem,
class Indices,
class Scalar>
40 using Eval = DenseAd::Evaluation<Scalar, Indices::numEq>;
42 int flowPhaseToEbosCompIdx(
const int phaseIdx)
const;
43 int ebosCompIdxToFlowCompIdx(
const unsigned compIdx)
const;
44 double scalingFactor(
const int phaseIdx)
const;
46 template <
class EvalWell>
47 Eval restrictEval(
const EvalWell&
in)
const
50 out.setValue(
in.value());
62 const int pvtRegionIdx,
66 const std::vector<PerforationData>& perf_data);
Definition AquiferInterface.hpp:35
Class encapsulating some information about parallel wells.
Definition ParallelWellInfo.hpp:184
Convert component rates at surface conditions to phase (voidage) rates at reservoir conditions.
Definition RateConverter.hpp:70
Definition WellInterfaceFluidSystem.hpp:47
Definition WellInterfaceIndices.hpp:35
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition BlackoilPhases.hpp:27