46 std::array<int, 3> ijk;
47 SourceComponent component;
49 std::optional<double> hrate;
50 std::optional<double> temperature;
57 bool operator==(
const SourceCell& other)
const;
59 bool isSame(
const std::pair<std::array<int, 3>, SourceComponent>& other)
const;
61 template<
class Serializer>
65 serializer(component);
68 serializer(temperature);
75 static Source serializationTestObject();
77 std::size_t size()
const;
78 std::vector<SourceCell>::const_iterator begin()
const;
79 std::vector<SourceCell>::const_iterator end()
const;
80 bool operator==(
const Source& other)
const;
82 double rate(
const std::pair<std::array<int, 3>, SourceComponent>& input )
const;
83 double hrate(
const std::pair<std::array<int, 3>, SourceComponent>& input )
const;
84 double temperature(
const std::pair<std::array<int, 3>, SourceComponent>& input)
const;
85 bool hasHrate(
const std::pair<std::array<int, 3>, SourceComponent>& input)
const;
86 bool hasTemperature(
const std::pair<std::array<int, 3>, SourceComponent>& input)
const;
87 bool hasSource(
const std::array<int, 3>& input)
const;
91 template<
class Serializer>
98 std::vector<SourceCell> m_cells;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30