48 std::array<int, 3> ijk{};
49 SourceComponent component{SourceComponent::NONE};
51 std::optional<double> hrate{};
52 std::optional<double> temperature{};
59 bool operator==(
const SourceCell& other)
const;
61 bool isSame(
const std::pair<std::array<int, 3>, SourceComponent>& other)
const;
63 template<
class Serializer>
67 serializer(component);
70 serializer(temperature);
76 static Source serializationTestObject();
78 std::size_t size()
const;
79 std::vector<SourceCell>::const_iterator begin()
const;
80 std::vector<SourceCell>::const_iterator end()
const;
81 bool operator==(
const Source& other)
const;
83 double rate(
const std::pair<std::array<int, 3>, SourceComponent>& input )
const;
84 double hrate(
const std::pair<std::array<int, 3>, SourceComponent>& input )
const;
85 double temperature(
const std::pair<std::array<int, 3>, SourceComponent>& input)
const;
86 bool hasHrate(
const std::pair<std::array<int, 3>, SourceComponent>& input)
const;
87 bool hasTemperature(
const std::pair<std::array<int, 3>, SourceComponent>& input)
const;
88 bool hasSource(
const std::array<int, 3>& input)
const;
95 m_cells.push_back(cell);
98 template<
class Serializer>
105 std::vector<SourceCell> m_cells;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30