Opm::RSTConv Class Reference

Class computing RPTRST CONV output. More...

#include <RSTConv.hpp>

Public Member Functions

 RSTConv (const std::vector< int > &globalCell, Parallel::Communication comm)
 Constructor. More...
 
void init (const std::size_t numCells, const RSTConfig &rst_config, const std::array< int, 6 > &compIdx)
 Init state at beginning of step. More...
 
template<class ResidualVector >
void update (const ResidualVector &resid)
 Adds the CONV output for given residual vector. More...
 
const std::vector< std::vector< int > > & getData () const
 Obtain a const-ref to the accumulated data. More...
 

Detailed Description

Class computing RPTRST CONV output.

Constructor & Destructor Documentation

◆ RSTConv()

Opm::RSTConv::RSTConv ( const std::vector< int > &  globalCell,
Parallel::Communication  comm 
)
inline

Constructor.

Parameters
globalCellMapping from local to global cell indices
commParallel communicator

Member Function Documentation

◆ getData()

const std::vector< std::vector< int > > & Opm::RSTConv::getData ( ) const
inline

Obtain a const-ref to the accumulated data.

Referenced by Opm::BlackoilModel< TypeTag >::afterStep(), and Opm::BlackoilModel< TypeTag >::getConvCells().

◆ init()

void Opm::RSTConv::init ( const std::size_t  numCells,
const RSTConfig &  rst_config,
const std::array< int, 6 > &  compIdx 
)

Init state at beginning of step.

Parameters
numCellsGlobal number of active cells in the model
rst_configRPTRST configuration
compIdxComponent index for phases {OIL, GAS, WAT, POLYMER, BRINE, SOLVENT}, negative if inactive

Referenced by Opm::BlackoilModel< TypeTag >::prepareStep().

◆ update()

template<class ResidualVector >
void Opm::RSTConv::update ( const ResidualVector &  resid)

Adds the CONV output for given residual vector.

Referenced by Opm::BlackoilModel< TypeTag >::nonlinearIteration().


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