33 enum class FlowTarget {
45 std::optional<std::size_t> report_step;
46 double error_integral;
54 static GPMaint serializationTestObject();
56 double pressure_target()
const;
57 double prop_constant()
const;
58 double time_constant()
const;
59 double rate(
State& state,
double current_rate,
double error,
double dt)
const;
60 std::optional<std::pair<std::string, int>> region()
const;
61 FlowTarget flow_target()
const;
62 bool operator==(
const GPMaint& other)
const;
63 template<
class Serializer>
66 serializer(m_flow_target);
67 serializer(m_region_number);
68 serializer(m_region_name);
69 serializer(m_pressure_target);
70 serializer(m_prop_constant);
71 serializer(m_time_constant);
72 serializer(m_report_step);
76 static FlowTarget FlowTargetFromString(
const std::string& stringvalue);
77 FlowTarget m_flow_target;
79 std::string m_region_name;
80 double m_pressure_target;
81 double m_prop_constant;
82 double m_time_constant;
83 std::size_t m_report_step;
Definition: DeckRecord.hpp:32
Definition: GPMaint.hpp:43
Definition: GPMaint.hpp:30
Class for (de-)serializing.
Definition: Serializer.hpp:75
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29