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_{};