52 SourceComponent component{SourceComponent::NONE};
54 std::optional<double> hrate{};
55 std::optional<double> temperature{};
57 SourceCell() =
default;
60 static SourceCell serializationTestObject();
62 bool operator==(
const SourceCell& other)
const;
64 template<
class Serializer>
67 serializer(component);
70 serializer(temperature);
76 static Source serializationTestObject();
78 auto size()
const {
return this->m_cells.size(); }
79 auto begin()
const {
return this->m_cells.begin(); }
80 auto end()
const {
return this->m_cells.end(); }
81 bool operator==(
const Source& other)
const;
83 double rate(
const std::array<int, 3>& ijk, SourceComponent input )
const;
84 std::optional<double> hrate(
const std::array<int, 3>& ijk, SourceComponent input )
const;
85 std::optional<double> temperature(
const std::array<int, 3>& ijk, SourceComponent input)
const;
86 bool hasSource(
const std::array<int, 3>& input)
const;
88 void updateSource(
const DeckRecord& record);
89 void addSourceCell(
const std::array<int,3>& ijk,
const SourceCell& cell);
91 template<
class Serializer>
92 void serializeOp(Serializer& serializer)
98 std::map<std::array<int, 3>, std::vector<SourceCell>> m_cells;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30