|
opm-simulators
|
Collection of fracturing statistics measures at the connection level. More...
#include <ConnFracStatistics.hpp>
Public Types | |
| enum | Quantity : std::size_t { Quantity::Pressure, Quantity::FlowRate, Quantity::Width, NumQuantities } |
| Known quantities for which this collection provides statistics measures. More... | |
| using | SamplePoint = std::array< Scalar, static_cast< std::underlying_type_t< Quantity > >(Quantity::NumQuantities)> |
| Sample point representation. More... | |
Public Member Functions | |
| template<class Serializer > | |
| void | serializeOp (Serializer &serializer) |
| Convert between byte array and object representation. More... | |
| void | reset () |
| Reset internal counters to prepare for calculating a new set of sample statistics. More... | |
| void | addSamplePoint (const SamplePoint &samplePoint) |
| Include new element into sample. More... | |
| const RunningStatistics< Scalar > & | statistics (const Quantity q) const |
| Retrieve collection of sample statistics for a single quantity. More... | |
| bool | operator== (const ConnFracStatistics &that) const |
| Equality predicate. More... | |
Static Public Member Functions | |
| static ConnFracStatistics | serializationTestObject () |
| Create a serialisation test object. | |
Collection of fracturing statistics measures at the connection level.
| Scalar | Statistics element type. Typically a built-in arithmetic type like float or double. |
| using Opm::ConnFracStatistics< Scalar >::SamplePoint = std::array <Scalar, static_cast<std::underlying_type_t<Quantity> >(Quantity::NumQuantities)> |
Sample point representation.
Client code must populate an object of this type in order to collect statistics.
|
strong |
|
inline |
Include new element into sample.
Updates internal statistics counters.
| [in] | samplePoint | Collection of sample values for the fracturing of the current well/reservoir connection. |
|
inline |
Equality predicate.
| [in] | that | Object against which *this |
that.
|
inline |
Reset internal counters to prepare for calculating a new set of sample statistics.
|
inline |
Convert between byte array and object representation.
| Serializer | Byte array conversion protocol. |
| [in,out] | serializer | Byte array conversion object. |
|
inline |
Retrieve collection of sample statistics for a single quantity.
| [in] | q | Quantity for which to retrieve sample statistics. |
q.