Group level satellite production.
More...
#include <GroupSatelliteInjection.hpp>
|
| class | Rate |
| | Satellite injection rates for a single phase. More...
|
|
|
using | RateIx = std::vector<Rate>::size_type |
| | Index type for looking up phase rate objects.
|
Group level satellite production.
◆ GroupSatelliteInjection() [1/2]
| Opm::GroupSatelliteInjection::GroupSatelliteInjection |
( |
| ) |
|
|
default |
Default constructor.
Forms an object that's mostly suitable as a target in a deserialisation operation.
◆ GroupSatelliteInjection() [2/2]
| Opm::GroupSatelliteInjection::GroupSatelliteInjection |
( |
const std::string & | group | ) |
|
|
explicit |
Constructor.
Creates a container for a particular named group, but without any satellite injection rates defined for any phase.
- Parameters
-
◆ name()
| const std::string & Opm::GroupSatelliteInjection::name |
( |
| ) |
const |
|
inline |
◆ operator==()
Equality predicate.
- Parameters
-
| [in] | that | Object against which will be tested for equality. |
- Returns
- Whether or not is the same as
that.
◆ operator[]()
| const Rate & Opm::GroupSatelliteInjection::operator[] |
( |
const RateIx | i | ) |
const |
|
inline |
Read only satellite injection rates.
- Parameters
-
| [in] | i | Lookup index. Typically computed in a previous call to member function rateIndex(). |
- Returns
- Satellite injection rate object at position
i.
◆ rate()
Read/write access to injection rate object for particular phase.
Will create a Rate object as needed.
- Parameters
-
| [in] | phase | Injection phase. |
- Returns
- Mutable
Rate object corresponding to injection phase phase.
◆ rateIndex()
Compute lookup index for particular phase.
- Parameters
-
| [in] | phase | Injection phase. |
- Returns
- Lookup index for injection phase
phase. Nullopt if there are no satellite injection rates recorded for phase phase in this group.
◆ serializeOp()
| void Opm::GroupSatelliteInjection::serializeOp |
( |
Serializer & | serializer | ) |
|
|
inline |
Convert between byte array and object representation.
- Template Parameters
-
- Parameters
-
| [in,out] | serializer | Byte array conversion object. |
The documentation for this class was generated from the following files: