26#ifndef OPM_CO2H2_CONTAINER_HPP
27#define OPM_CO2H2_CONTAINER_HPP
33namespace data {
class Solution; }
39 using ScalarBuffer = std::vector<Scalar>;
42 void allocate(
const unsigned bufferSize,
const bool isCO2);
44 void assign(
const unsigned globalDofIdx,
51 void outputRestart(data::Solution& sol);
53 void readRestart(
const unsigned globalDofIdx,
54 const unsigned elemIdx,
55 const data::Solution& sol);
57 bool allocated()
const
58 {
return allocated_; }
61 bool allocated_ =
false;
62 ScalarBuffer cXmfCO2_{};
63 ScalarBuffer cXmfH2_{};
64 ScalarBuffer cYmfwat_{};
Definition CO2H2Container.hpp:38
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:45
Struct holding CO2 and H2 extension data.
Definition SolutionContainers.hpp:84