|
opm-common
|
Definition of a single summary vector. More...
#include <SummaryConfig.hpp>
Public Member Functions | |
| SummaryConfigNode ()=default | |
| Default constructor. | |
| SummaryConfigNode (std::string keyword, const Category cat, KeywordLocation loc_arg) | |
| Constructor. | |
| SummaryConfigNode & | parameterType (const Type type) |
| Assign vector type. | |
| SummaryConfigNode & | namedEntity (std::string name) |
| Assign vector's named entity. | |
| SummaryConfigNode & | number (const int num) |
| Assign vector's numeric ID. | |
| SummaryConfigNode & | isUserDefined (const bool userDefined) |
| Assign vector's UDQ flag. | |
| SummaryConfigNode & | fip_region (const std::string &fip_region) |
| Assign vector's associated region name. | |
| const std::string & | keyword () const |
| Retrieve summary vector name. | |
| Category | category () const |
| Retrieve summary vector's level. | |
| Type | type () const |
| Retrieve summary vector's type. | |
| const std::string & | namedEntity () const |
| Retrieve summary vector's named entity. | |
| int | number () const |
| Retrieve summary vector's associated numeric ID. | |
| bool | isUserDefined () const |
| Retrieve summary vector's UDQ flag. | |
| const std::string & | fip_region () const |
| Retrieve summary vector's associated region. | |
| std::string | uniqueNodeKey () const |
| Retrieve a unique distinguishing identifier for this summary vector. | |
| const KeywordLocation & | location () const |
| Retrieve summary keyword location in input. | |
| operator EclIO::SummaryNode () const | |
| Convert summary vector definition to low-level SummaryNode object. | |
| template<class Serializer> | |
| void | serializeOp (Serializer &serializer) |
| Convert between byte array and object representation. | |
Static Public Member Functions | |
| static SummaryConfigNode | serializationTestObject () |
| Create a serialisation test object. | |
Definition of a single summary vector.
Collects the vector name (summary keyword), the vector entity (e.g., a well or group name), the vector "number" (e.g., a cell or segment index), and any applicable region names (for region level vectors).
|
default |
Default constructor.
Resulting object is mostly usable as the target of a deserialisation operation.
|
explicit |
Constructor.
| [in] | keyword | Summary vector name. |
| [in] | cat | Summary vector level. |
| [in] | loc_arg | Keyword location. Mostly for diagnostic purposes. |
| SummaryConfigNode & Opm::SummaryConfigNode::fip_region | ( | const std::string & | fip_region | ) |
Assign vector's associated region name.
| [in] | fip_region | Summary vector's associated region. |
| SummaryConfigNode & Opm::SummaryConfigNode::isUserDefined | ( | const bool | userDefined | ) |
Assign vector's UDQ flag.
| [in] | userDefined | Whether or not vector is a user defined quantity. |
|
inline |
Retrieve summary keyword location in input.
Mostly provided for diagnostic purposes.
| SummaryConfigNode & Opm::SummaryConfigNode::namedEntity | ( | std::string | name | ) |
Assign vector's named entity.
| [in] | name | Summary vector's named entity such as a well or group name. |
| SummaryConfigNode & Opm::SummaryConfigNode::number | ( | const int | num | ) |
Assign vector's numeric ID.
| [in] | num | Summary vector's "number" such as a cell/connection index, a completion number or a segment number. |
| SummaryConfigNode & Opm::SummaryConfigNode::parameterType | ( | const Type | type | ) |
Assign vector type.
| [in] | type | Summary vector type (e.g., rate, cumulative, ratio, pressure). |
|
inline |
Convert between byte array and object representation.
| Serializer | Byte array conversion protocol. |
| [in,out] | serializer | Byte array conversion object. |