|
opm-common
|
Single UDA with use counts and IUAP start offsets for restart file output purposes. More...
#include <UDQActive.hpp>
Public Member Functions | |
| OutputRecord () | |
| Default constructor. More... | |
| OutputRecord (const std::string &udq_arg, const std::size_t input_index_arg, const std::string &wgname_arg, const UDAControl control_arg) | |
| Constructor. More... | |
| bool | operator== (const OutputRecord &other) const |
| Equality predicate. More... | |
| bool | operator!= (const OutputRecord &other) const |
| Inequality predicate. More... | |
| template<class Serializer > | |
| void | serializeOp (Serializer &serializer) |
| Convert between byte array and object representation. More... | |
| const std::string & | wg_name () const |
| Name of well/group affected by this UDA. More... | |
Public Attributes | |
| std::string | udq |
| Name of UDQ from which this UDA derives its numeric value. | |
| std::size_t | input_index |
| Zero-based index in order of appearance of the UDQ use for this UDA. More... | |
| UDAControl | control |
| Constraint keyword and item/limit for which this UDA supplies the numeric value. More... | |
| int | uda_code {} |
Restart file integer representation of control. | |
| std::size_t | use_count {} |
| Number of times this UDA is mentioned in this particular combination of constraint keyword and item/limit. More... | |
Single UDA with use counts and IUAP start offsets for restart file output purposes.
This information is intended to go mostly unaltered into the IUAD restart file array.
| Opm::UDQActive::OutputRecord::OutputRecord | ( | ) |
Default constructor.
Creates an invalid OutputRecord which is mostly usable as a target for a deserialisation operation.
| Opm::UDQActive::OutputRecord::OutputRecord | ( | const std::string & | udq_arg, |
| const std::size_t | input_index_arg, | ||
| const std::string & | wgname_arg, | ||
| const UDAControl | control_arg | ||
| ) |
Constructor.
| [in] | udq_arg | Name of UDQ from which this UDA derives its numeric value. |
| [in] | input_index_arg | Zero-based index in order of appearance of the UDQ use for this UDA. |
| [in] | use_index_arg | IUAP array start offset. |
| [in] | wgname_arg | Name of well or group affected by this UDA. |
| [in] | control_arg | Constraint keyword and item/limit for which this UDA supplies the numeric value. |
|
inline |
Inequality predicate.
| [in] | other | Object against which *this |
other. | bool Opm::UDQActive::OutputRecord::operator== | ( | const OutputRecord & | other | ) | const |
Equality predicate.
| [in] | other | Object against which *this |
other.
|
inline |
Convert between byte array and object representation.
| Serializer | Byte array conversion protocol. |
| [in,out] | serializer | Byte array conversion object. |
|
inline |
Name of well/group affected by this UDA.
Misleading if the use count is greater than one.
| UDAControl Opm::UDQActive::OutputRecord::control |
Constraint keyword and item/limit for which this UDA supplies the numeric value.
| std::size_t Opm::UDQActive::OutputRecord::input_index |
Zero-based index in order of appearance of the UDQ use for this UDA.
| std::size_t Opm::UDQActive::OutputRecord::use_count {} |
Number of times this UDA is mentioned in this particular combination of constraint keyword and item/limit.
Effectively, how many wells/groups use this UDA for the same purpose.