26 #ifndef OPM_BIOEFFECTS_CONTAINER_HPP 27 #define OPM_BIOEFFECTS_CONTAINER_HPP 33 namespace data {
class Solution; }
36 template<
class Scalar>
39 using ScalarBuffer = std::vector<Scalar>;
42 void allocate(
const unsigned bufferSize,
const bool isMICP);
44 void assign(
const unsigned globalDofIdx,
45 const Scalar oxygenConcentration,
46 const Scalar ureaConcentration,
47 const Scalar calciteVolumeFraction);
49 void assign(
const unsigned globalDofIdx,
50 const Scalar microbialConcentration,
51 const Scalar biofilmVolumeFraction);
55 void outputRestart(data::Solution& sol,
const bool isMICP);
57 void readRestart(
const unsigned globalDofIdx,
58 const unsigned elemIdx,
59 const data::Solution& sol,
62 bool allocated()
const 63 {
return allocated_; }
66 bool allocated_ =
false;
67 ScalarBuffer cMicrobes_{};
68 ScalarBuffer cOxygen_{};
69 ScalarBuffer cUrea_{};
70 ScalarBuffer cBiofilm_{};
71 ScalarBuffer cCalcite_{};
76 #endif // OPM_BIOEFFECTS_CONTAINER_HPP Struct holding MICP extension data.
Definition: BioeffectsContainer.hpp:34
Definition: BioeffectsContainer.hpp:37
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45