19 #ifndef OPM_RESERVOIR_COUPLING_MASTER_GROUP_HPP 20 #define OPM_RESERVOIR_COUPLING_MASTER_GROUP_HPP 30 namespace ReservoirCoupling {
37 const std::string& name,
38 const std::string& slave_name,
39 const std::string& slave_group_name,
40 double flow_limit_fraction
43 m_slave_name{slave_name},
44 m_slave_group_name{slave_group_name},
45 m_flow_limit_fraction{flow_limit_fraction}
49 const std::string name()
const {
52 const std::string slaveName()
const {
53 return this->m_slave_name;
55 const std::string slaveGroupName()
const {
56 return this->m_slave_group_name;
58 double flowLimitFraction()
const {
59 return this->m_flow_limit_fraction;
61 void name(
const std::string&
value) {
64 void slaveName(
const std::string&
value) {
65 this->m_slave_name =
value;
67 void slaveGroupName(
const std::string&
value) {
68 this->m_slave_group_name =
value;
70 void flowLimitFraction(
double value) {
71 this->m_flow_limit_fraction =
value;
75 template<
class Serializer>
79 serializer(m_slave_name);
80 serializer(m_slave_group_name);
81 serializer(m_flow_limit_fraction);
86 std::string m_slave_name{};
87 std::string m_slave_group_name{};
88 double m_flow_limit_fraction{};
98 #endif // OPM_RESERVOIR_COUPLING_MASTER_GROUP_HPP This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Definition: MasterGroup.hpp:32
Class for (de-)serializing.
Definition: Serializer.hpp:94
Definition: HandlerContext.hpp:54