43 using Scalar =
typename FluidSystem::Scalar;
44 using ScalarBuffer = std::vector<Scalar>;
46 static constexpr auto numPhases = FluidSystem::numPhases;
47 static constexpr auto gasPhaseIdx = FluidSystem::gasPhaseIdx;
48 static constexpr auto oilPhaseIdx = FluidSystem::oilPhaseIdx;
49 static constexpr auto waterPhaseIdx = FluidSystem::waterPhaseIdx;
51 static constexpr auto gasCompIdx = FluidSystem::gasCompIdx;
52 static constexpr auto oilCompIdx = FluidSystem::oilCompIdx;
53 static constexpr auto waterCompIdx = FluidSystem::waterCompIdx;
64 void assignFlores(
const unsigned globalDofIdx,
71 void assignFlows(
const unsigned globalDofIdx,
78 void outputRestart(data::Solution&
sol);
80 const std::array<FlowsData<double>, 3>& getFlowsn()
const
81 {
return this->flowsn_; }
83 bool hasFlowsn()
const
84 {
return enableFlowsn_; }
87 {
return enableFlows_; }
89 bool hasBlockFlows()
const
90 {
return blockFlows_; }
95 const std::array<FlowsData<double>, 3>& getFloresn()
const
96 {
return this->floresn_; }
98 bool hasFloresn()
const
99 {
return enableFloresn_; }
101 bool hasFlores()
const
102 {
return enableFlores_; }
104 bool anyFlores()
const
105 {
return anyFlores_; }
107 Scalar getFlow(
const unsigned globalDofIdx,
108 const FaceDir::DirEnum dir,
110 {
return flows_[
comp_idx][FaceDir::ToIntersectionIndex(dir)][globalDofIdx]; }
113 bool anyFlows_{
false};
114 bool anyFlores_{
false};
115 bool blockFlows_{
false};
116 bool enableFlows_{
false};
117 bool enableFlores_{
false};
118 bool enableFlowsn_{
false};
119 bool enableFloresn_{
false};
121 std::array<std::array<ScalarBuffer, 6>, numPhases> flows_;
122 std::array<std::array<ScalarBuffer, 6>, numPhases> flores_;
124 std::array<FlowsData<double>, 3> floresn_;
125 std::array<FlowsData<double>, 3> flowsn_;
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242