opm-simulators
Opm::CompWellPrimaryVariables< FluidSystem, Indices > Class Template Reference

Public Types

using Scalar = typename FluidSystem::Scalar
 
using EvalWell = DenseAd::Evaluation< Scalar, numWellEq+numResEq >
 
using Eval = DenseAd::Evaluation< Scalar, numResEq >
 
using BVectorWell = typename CompWellEquations< Scalar, numWellEq, numResEq >::BVectorWell
 
using SingleWellState = SingleCompWellState< FluidSystem >
 
template<typename T >
using FluidState = CompositionalFluidState< T, FluidSystem >
 

Public Member Functions

template<typename T >
FluidState< T > toFluidState () const
 
void update (const SingleWellState &well_state)
 
void updateEvaluation ()
 
EvalWell getBhp () const
 
EvalWell getTotalRate () const
 
void updateNewton (const BVectorWell &dwells)
 
template<typename T >
CompWellPrimaryVariables< FluidSystem, Indices >::template FluidState< T > toFluidState () const
 

Static Public Member Functions

static EvalWell extendEval (const Eval &in)
 
static Eval restrictEval (const EvalWell &in)
 

Static Public Attributes

static constexpr int numWellConservationEq = FluidSystem::numComponents
 
static constexpr int numWellControlEq = 1
 
static constexpr int numWellEq = numWellConservationEq + numWellControlEq
 
static constexpr int QTotal = 0
 
static constexpr int Bhp = numWellEq - numWellControlEq
 
static constexpr int numResEq = Indices::numEq
 

The documentation for this class was generated from the following files: