My Project
Loading...
Searching...
No Matches
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.
 
void init (const std::size_t numCells, const RSTConfig &rst_config, const std::array< int, 6 > &compIdx)
 Init state at beginning of step.
 
template<class ResidualVector >
void update (const ResidualVector &resid)
 Adds the CONV output for given residual vector.
 
const std::vector< std::vector< int > > & getData () const
 Obtain a const-ref to the accumulated data.
 

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

◆ 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

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