My Project
|
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. | |
Class computing RPTRST CONV output.
|
inline |
Constructor.
globalCell | Mapping from local to global cell indices |
comm | Parallel communicator |
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.
numCells | Global number of active cells in the model |
rst_config | RPTRST configuration |
compIdx | Component index for phases {OIL, GAS, WAT, POLYMER, BRINE, SOLVENT}, negative if inactive |