26#ifndef OPM_EXTBO_CONTAINER_HPP
27#define OPM_EXTBO_CONTAINER_HPP
33namespace data {
class Solution; }
38 using ScalarBuffer = std::vector<Scalar>;
43 void assignMassFractions(
const unsigned globalDofIdx,
48 void assignVolumes(
const unsigned globalDofIdx,
50 const Scalar yVolume);
52 void assignZFraction(
const unsigned globalDofIdx,
53 const Scalar zFraction);
55 void outputRestart(data::Solution&
sol);
57 bool allocated()
const
58 {
return allocated_; }
61 bool allocated_ =
false;
62 ScalarBuffer X_volume_;
63 ScalarBuffer Y_volume_;
64 ScalarBuffer Z_fraction_;
65 ScalarBuffer mFracOil_;
66 ScalarBuffer mFracGas_;
67 ScalarBuffer mFracCo2_;
Definition ExtboContainer.hpp:37
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