Internal container for integration point statistitcs on a given element.
More...
#include <statistics_data.h>
|
|
| StatisticsData () |
| Default constructor. More...
|
|
| StatisticsData (StatisticsData const &rOther) |
| Copy constructor. More...
|
|
virtual | ~StatisticsData () |
| Destructor. More...
|
|
|
StatisticsData & | operator= (StatisticsData const &rOther) |
| Assignment operator. More...
|
|
|
void | InitializeStorage (Element &rElement, std::size_t MeasurementSize) |
| Initialize internal storage for this container. More...
|
|
void | UpdateMeasurement (const Element &rElement, const PointerVector< StatisticsSampler > &rStatisticsSamplers, const PointerVector< StatisticsSampler > &rHigherOrderStatistics, ValueContainerType &rUpdate, const std::size_t NumMeasurements) |
| Record a new realization for the measured statistics. More...
|
|
void | WriteToCSVOutput (std::ofstream &rOutputStream, const Element &rElement, const PointerVector< StatisticsSampler > &rRecordedStatistics, const PointerVector< StatisticsSampler > &rHigherOrderStatistics, const std::size_t NumberOfMeasurements, const std::string &rSeparator) const |
| Write computed statistics to output file. More...
|
|
|
std::size_t | NumberOfIntegrationPoints () const |
| How many integration points this container holds data for. More...
|
|
std::size_t | NumberOfStatisticalQuantities () const |
| How many quantities this container holds data for. More...
|
|
|
IntegrationPointDataView | IntegrationPointData (std::size_t IntegrationPointIndex) |
| Access internal data for a given integration point. More...
|
|
IntegrationPointDataConstView | IntegrationPointData (std::size_t IntegrationPointIndex) const |
| Access internal data for a given integration point. More...
|
|
|
virtual std::string | Info () const |
| Turn back information as a string. More...
|
|
virtual void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More...
|
|
virtual void | PrintData (std::ostream &rOStream) const |
| Print object's data. More...
|
|
Internal container for integration point statistitcs on a given element.
- See also
- StatisticsRecord
-
IntegrationPointStatisticsProcess.
◆ IntegrationPointDataConstView
◆ IntegrationPointDataView
◆ ValueContainerType
◆ StatisticsData() [1/2]
Kratos::StatisticsData::StatisticsData |
( |
| ) |
|
|
inline |
◆ StatisticsData() [2/2]
Kratos::StatisticsData::StatisticsData |
( |
StatisticsData const & |
rOther | ) |
|
|
inline |
◆ ~StatisticsData()
virtual Kratos::StatisticsData::~StatisticsData |
( |
| ) |
|
|
inlinevirtual |
◆ CalculateGeometryData()
◆ Info()
virtual std::string Kratos::StatisticsData::Info |
( |
| ) |
const |
|
inlinevirtual |
Turn back information as a string.
◆ InitializeStorage()
void Kratos::StatisticsData::InitializeStorage |
( |
Element & |
rElement, |
|
|
std::size_t |
MeasurementSize |
|
) |
| |
|
inline |
Initialize internal storage for this container.
- Parameters
-
rElement | The element instance this container stores data for. |
MeasurementSize | Total number of quantities that are recorded. For vector and matrix statistics, each component should be counted as a different quantity. |
◆ IntegrationPointData() [1/2]
Access internal data for a given integration point.
- Parameters
-
IntegrationPointIndex | index of the requested integration point. |
◆ IntegrationPointData() [2/2]
Access internal data for a given integration point.
- Parameters
-
IntegrationPointIndex | index of the requested integration point. |
◆ KRATOS_CLASS_POINTER_DEFINITION()
Kratos::StatisticsData::KRATOS_CLASS_POINTER_DEFINITION |
( |
StatisticsData |
| ) |
|
◆ NumberOfIntegrationPoints()
std::size_t Kratos::StatisticsData::NumberOfIntegrationPoints |
( |
| ) |
const |
|
inline |
How many integration points this container holds data for.
◆ NumberOfStatisticalQuantities()
std::size_t Kratos::StatisticsData::NumberOfStatisticalQuantities |
( |
| ) |
const |
|
inline |
How many quantities this container holds data for.
When working with vector or matrix quantities, each individual component is counted as a different quantity.
◆ operator=()
◆ PrintData()
virtual void Kratos::StatisticsData::PrintData |
( |
std::ostream & |
rOStream | ) |
const |
|
inlinevirtual |
◆ PrintInfo()
virtual void Kratos::StatisticsData::PrintInfo |
( |
std::ostream & |
rOStream | ) |
const |
|
inlinevirtual |
Print information about this object.
◆ UpdateMeasurement()
Record a new realization for the measured statistics.
This function assumes that InitializeStorage has been called in advance.
- Parameters
-
rElement | The element instance this container stores data for. |
rRecordedStatistics | List of first order statistics stored in this container. |
rHigherOrderStatistics | List of higher order statistics stored in this container. |
NumberOfMeasurements | How many times this function has been called so far (including this one). |
◆ WriteToCSVOutput()
Write computed statistics to output file.
- Parameters
-
rOutputStream | output file stream. |
rElement | Element instance this container stores data for. |
rRecordedStatistics | List of first order statistics stored in this container. |
rHigherOrderStatistics | List of higher order statistics stored in this container. |
NumberOfMeasurements | How many realizations have been recorded up to this point. |
rSeparator | Separator to use in the output file. |
◆ Serializer
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/applications/FluidDynamicsApplication/custom_utilities/statistics_data.h