42 using Scalar =
typename FluidSystem::Scalar;
43 using ScalarBuffer = std::vector<Scalar>;
45 static constexpr int numComponents = FluidSystem::numComponents;
47 static constexpr int numPhases = FluidSystem::numPhases;
48 static constexpr int gasPhaseIdx = FluidSystem::gasPhaseIdx;
49 static constexpr int oilPhaseIdx = FluidSystem::oilPhaseIdx;
50 static constexpr int waterPhaseIdx = FluidSystem::waterPhaseIdx;
56 using AssignFunction = std::function<Scalar(
const unsigned)>;
58 void assignGasFractions(
const unsigned globalDofIdx,
61 void assignMoleFractions(
const unsigned globalDofIdx,
64 void assignOilFractions(
const unsigned globalDofIdx,
67 void outputRestart(data::Solution&
sol,
70 bool allocated()
const
71 {
return allocated_; }
74 bool allocated_ =
false;
76 std::array<ScalarBuffer, numComponents> moleFractions_;
78 std::array<std::array<ScalarBuffer, numComponents>, numPhases> phaseMoleFractions_;
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242