52 SourceComponent component{SourceComponent::NONE};
54 std::optional<double> hrate{};
55 std::optional<double> temperature{};
62 bool operator==(
const SourceCell& other)
const;
64 template<
class Serializer>
67 serializer(component);
70 serializer(temperature);
76 static Source serializationTestObject();
78 std::size_t size()
const;
79 std::map<std::array<int, 3>, std::vector<SourceCell>>::const_iterator begin()
const;
80 std::map<std::array<int, 3>, std::vector<SourceCell>>::const_iterator end()
const;
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;
90 template<
class Serializer>
97 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