Opm::BlackoilWellModelNldd< TypeTag > Class Template Reference

Class for handling the blackoil well model in a NLDD solver. More...

#include <BlackoilWellModelNldd.hpp>

Inheritance diagram for Opm::BlackoilWellModelNldd< TypeTag >:
Inheritance graph

Public Types

using Grid = GetPropType< TypeTag, Properties::Grid >
 
using Scalar = GetPropType< TypeTag, Properties::Scalar >
 
using PressureMatrix = typename BlackoilWellModel< TypeTag >::PressureMatrix
 
using BVector = typename BlackoilWellModel< TypeTag >::BVector
 
using Domain = SubDomain< Grid >
 

Public Member Functions

 BlackoilWellModelNldd (BlackoilWellModel< TypeTag > &model)
 
void addWellPressureEquations (PressureMatrix &jacobian, const BVector &weights, const bool use_well_weights, const int domainIndex) const
 
void assemble (const int iterationIdx, const double dt, const Domain &domain)
 
void updateWellControls (DeferredLogger &deferred_logger, const Domain &domain)
 
void setupDomains (const std::vector< Domain > &domains)
 
ConvergenceReport getWellConvergence (const Domain &domain, const std::vector< Scalar > &B_avg, DeferredLogger &local_deferredLogger) const
 
void recoverWellSolutionAndUpdateWellState (const BVector &x, const int domainIdx)
 
int numLocalWells () const
 
int numLocalWellsEnd () const
 
std::vector< GetPropType< TypeTag, Properties::Scalar > > getPrimaryVarsDomain (const int domainIdx) const
 
void setPrimaryVarsDomain (const int domainIdx, const std::vector< GetPropType< TypeTag, Properties::Scalar > > &vars)
 
const SparseTable< int > & well_local_cells () const
 
const std::map< std::string, int > & well_domain () const
 

Protected Member Functions

void calcDomains (const std::vector< const SubDomainIndices * > &domains)
 

Detailed Description

template<typename TypeTag>
class Opm::BlackoilWellModelNldd< TypeTag >

Class for handling the blackoil well model in a NLDD solver.

Member Typedef Documentation

◆ BVector

template<typename TypeTag >
using Opm::BlackoilWellModelNldd< TypeTag >::BVector = typename BlackoilWellModel<TypeTag>::BVector

◆ Domain

template<typename TypeTag >
using Opm::BlackoilWellModelNldd< TypeTag >::Domain = SubDomain<Grid>

◆ Grid

template<typename TypeTag >
using Opm::BlackoilWellModelNldd< TypeTag >::Grid = GetPropType<TypeTag, Properties::Grid>

◆ PressureMatrix

template<typename TypeTag >
using Opm::BlackoilWellModelNldd< TypeTag >::PressureMatrix = typename BlackoilWellModel<TypeTag>::PressureMatrix

◆ Scalar

template<typename TypeTag >
using Opm::BlackoilWellModelNldd< TypeTag >::Scalar = GetPropType<TypeTag, Properties::Scalar>

Constructor & Destructor Documentation

◆ BlackoilWellModelNldd()

template<typename TypeTag >
Opm::BlackoilWellModelNldd< TypeTag >::BlackoilWellModelNldd ( BlackoilWellModel< TypeTag > &  model)
inline

Member Function Documentation

◆ addWellPressureEquations()

template<typename TypeTag >
void Opm::BlackoilWellModelNldd< TypeTag >::addWellPressureEquations ( PressureMatrix jacobian,
const BVector weights,
const bool  use_well_weights,
const int  domainIndex 
) const

◆ assemble()

template<typename TypeTag >
void Opm::BlackoilWellModelNldd< TypeTag >::assemble ( const int  iterationIdx,
const double  dt,
const Domain domain 
)

◆ calcDomains()

void Opm::BlackoilWellModelNlddGeneric< GetPropType< TypeTag, Properties::Scalar > >::calcDomains ( const std::vector< const SubDomainIndices * > &  domains)
protectedinherited

◆ getPrimaryVarsDomain()

std::vector< GetPropType< TypeTag, Properties::Scalar > > Opm::BlackoilWellModelNlddGeneric< GetPropType< TypeTag, Properties::Scalar > >::getPrimaryVarsDomain ( const int  domainIdx) const
inherited

◆ getWellConvergence()

◆ numLocalWells()

template<typename TypeTag >
int Opm::BlackoilWellModelNldd< TypeTag >::numLocalWells ( ) const
inline

◆ numLocalWellsEnd()

template<typename TypeTag >
int Opm::BlackoilWellModelNldd< TypeTag >::numLocalWellsEnd ( ) const
inline

◆ recoverWellSolutionAndUpdateWellState()

template<typename TypeTag >
void Opm::BlackoilWellModelNldd< TypeTag >::recoverWellSolutionAndUpdateWellState ( const BVector x,
const int  domainIdx 
)

◆ setPrimaryVarsDomain()

void Opm::BlackoilWellModelNlddGeneric< GetPropType< TypeTag, Properties::Scalar > >::setPrimaryVarsDomain ( const int  domainIdx,
const std::vector< GetPropType< TypeTag, Properties::Scalar > > &  vars 
)
inherited

◆ setupDomains()

template<typename TypeTag >
void Opm::BlackoilWellModelNldd< TypeTag >::setupDomains ( const std::vector< Domain > &  domains)

◆ updateWellControls()

template<typename TypeTag >
void Opm::BlackoilWellModelNldd< TypeTag >::updateWellControls ( DeferredLogger deferred_logger,
const Domain domain 
)

◆ well_domain()

const std::map< std::string, int > & Opm::BlackoilWellModelNlddGeneric< GetPropType< TypeTag, Properties::Scalar > >::well_domain ( ) const
inlineinherited

◆ well_local_cells()

const SparseTable< int > & Opm::BlackoilWellModelNlddGeneric< GetPropType< TypeTag, Properties::Scalar > >::well_local_cells ( ) const
inlineinherited

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