20#ifndef OPM_RST_CONV_HEADER_INCLUDED
21#define OPM_RST_CONV_HEADER_INCLUDED
26#include <opm/simulators/utils/ParallelCommunication.hpp>
39 RSTConv(
const std::vector<int>& globalCell,
40 Parallel::Communication comm)
41 : globalCell_(globalCell)
49 void init(
const std::size_t numCells,
51 const std::array<int,6>&
compIdx);
54 template<
class Res
idualVector>
58 const std::vector<std::vector<int>>&
getData()
const
67 template<
class Res
idualVector>
68 void gatherAndAccumulate(
const std::vector<int>&
lIdx,
71 const std::vector<int>& globalCell_;
72 Parallel::Communication comm_;
73 std::vector<std::vector<int>> cnv_X_;
74 std::array<int,6> compIdx_;
Class computing RPTRST CONV output.
Definition RSTConv.hpp:34
RSTConv(const std::vector< int > &globalCell, Parallel::Communication comm)
Constructor.
Definition RSTConv.hpp:39
const std::vector< std::vector< int > > & getData() const
Obtain a const-ref to the accumulated data.
Definition RSTConv.hpp:58
void update(const ResidualVector &resid)
Adds the CONV output for given residual vector.
Definition RSTConv.cpp:58
void init(const std::size_t numCells, const RSTConfig &rst_config, const std::array< int, 6 > &compIdx)
Init state at beginning of step.
Definition RSTConv.cpp:35
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242