My Project
|
Collection of fracturing statistics measures at the connection level. More...
#include <ConnFracStatistics.hpp>
Public Types | |
enum class | Quantity : std::size_t { Pressure , FlowRate , 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. | |
Public Member Functions | |
template<class Serializer > | |
void | serializeOp (Serializer &serializer) |
Convert between byte array and object representation. | |
void | reset () |
Reset internal counters to prepare for calculating a new set of sample statistics. | |
void | addSamplePoint (const SamplePoint &samplePoint) |
Include new element into sample. | |
const RunningStatistics< Scalar > & | statistics (const Quantity q) const |
Retrieve collection of sample statistics for a single quantity. | |
bool | operator== (const ConnFracStatistics &that) const |
Equality predicate. | |
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 |
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
.