26#ifndef OPM_MICP_CONTAINER_HPP
27#define OPM_MICP_CONTAINER_HPP
33namespace data {
class Solution; }
34template<
class Scalar>
struct MICPSolutionContainer;
39 using ScalarBuffer = std::vector<Scalar>;
44 void assign(
const unsigned globalDofIdx,
45 const Scalar microbialConcentration,
46 const Scalar oxygenConcentration,
47 const Scalar ureaConcentration,
48 const Scalar biofilmConcentration,
49 const Scalar calciteConcentration);
56 const unsigned elemIdx,
57 const data::Solution& sol);
60 {
return allocated_; }
63 bool allocated_ =
false;
64 ScalarBuffer cMicrobes_;
65 ScalarBuffer cOxygen_;
67 ScalarBuffer cBiofilm_;
68 ScalarBuffer cCalcite_;
Definition: MICPContainer.hpp:38
void assign(const unsigned globalDofIdx, const Scalar microbialConcentration, const Scalar oxygenConcentration, const Scalar ureaConcentration, const Scalar biofilmConcentration, const Scalar calciteConcentration)
void readRestart(const unsigned globalDofIdx, const unsigned elemIdx, const data::Solution &sol)
void outputRestart(data::Solution &sol)
bool allocated() const
Definition: MICPContainer.hpp:59
MICPSolutionContainer< Scalar > getSolution() const
void allocate(const unsigned bufferSize)
Definition: blackoilboundaryratevector.hh:39
Struct holding MICP extension data.
Definition: SolutionContainers.hpp:57