|
My Project
|
Class computing RPTRST CONV output. More...
#include <RSTConv.hpp>
Public Types | |
| using | LocalToGlobalCellFunc = std::function< int(const int)> |
Public Member Functions | |
| RSTConv (LocalToGlobalCellFunc 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. | |
| void | outputRestart (data::Solution &sol) |
| Inserts the CONV output into the restart output container. | |
| 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 |