Edit me

Statistics application consist of widely used methods to calculate statistics in various containers of KratosMultiphysics. There are mainly two groups of statistical methods namely Spatial and Temporal. Spatial methods calculate statistics on spatial containers and output the values whenever they are called. Temporal methods calculate statistics on the fly in a transient simulation. All the temporal methods gurantee that, the resultant statistics will be same as the ones if one calculates accumulating all the data upto that time instance and calculate the same statistics. All of these methods in each group is OpenMP and MPI compatible, and tested.

Following table summarize capabilities of Statistics Application.

Statistical Methods Norm Types Spatial Domain Temporal Domain Data types
Sum Value Spatial methods Temporal methods Double
Mean Magnitude Spatial containers Temporal containers Array 3D
Root mean square Euclidean nodal_historical nodal_historical_historical Vector
Variance Infinity nodal_non_historical nodal_historical_non_historical Matrix
Min P-Norm condition_non_historical nodal_non_historical  
Max Lpq-Norm element_non_historical element_non_historical  
Median Frobenius Spatial statistics process condition_non_historical  
Distribution Trace   Temporal statistics process  
Norm methods Index      
  Component      

If you prefer to use statistics of a simulation using StatisticsApplication, there is spatial_statistics_process for spatial statistics calculations and temporal_statistics_process for temporal statistics. These processes can be included via JSON settings under auxiliary_processes.