KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Static Public Member Functions | List of all members
Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor > Class Template Reference

#include <spatial_methods.h>

Collaboration diagram for Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >:

Static Public Member Functions

static int CalculateSum (const ModelPart &rModelPart, const Flags &rVariable)
 
template<class TDataType >
static TDataType CalculateSum (const ModelPart &rModelPart, const Variable< TDataType > &rVariable)
 
template<class TDataType >
static double CalculateNormSum (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 
template<class TDataType >
static TDataType CalculateRootMeanSquare (const ModelPart &rModelPart, const Variable< TDataType > &rVariable)
 
template<class TDataType >
static double CalculateNormRootMeanSquare (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 
template<class TDataType >
static TDataType CalculateMean (const ModelPart &rModelPart, const Variable< TDataType > &rVariable)
 
template<class TDataType >
static double CalculateNormMean (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 
template<class TDataType >
static std::tuple< TDataType, TDataType > CalculateVariance (const ModelPart &rModelPart, const Variable< TDataType > &rVariable)
 
template<class TDataType >
static std::tuple< double, doubleCalculateNormVariance (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 
template<class TDataType >
static std::tuple< double, std::size_t > GetNormMax (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 
template<class TDataType >
static std::tuple< double, std::size_t > GetNormMin (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 
template<class TDataType >
static double GetNormMedian (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 
template<class TDataType >
static std::tuple< double, double, std::vector< double >, std::vector< int >, std::vector< double >, std::vector< double >, std::vector< double > > GetNormDistribution (const ModelPart &rModelPart, const Variable< TDataType > &rVariable, const std::string &rNormType, Parameters Params)
 

Member Function Documentation

◆ CalculateMean()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static TDataType Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateMean ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable 
)
inlinestatic

◆ CalculateNormMean()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static double Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateNormMean ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

◆ CalculateNormRootMeanSquare()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static double Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateNormRootMeanSquare ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

◆ CalculateNormSum()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static double Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateNormSum ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

◆ CalculateNormVariance()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static std::tuple<double, double> Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateNormVariance ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

◆ CalculateRootMeanSquare()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static TDataType Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateRootMeanSquare ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable 
)
inlinestatic

◆ CalculateSum() [1/2]

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
static int Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateSum ( const ModelPart rModelPart,
const Flags rVariable 
)
inlinestatic

◆ CalculateSum() [2/2]

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static TDataType Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateSum ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable 
)
inlinestatic

◆ CalculateVariance()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static std::tuple<TDataType, TDataType> Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::CalculateVariance ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable 
)
inlinestatic

◆ GetNormDistribution()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static std::tuple<double, double, std::vector<double>, std::vector<int>, std::vector<double>, std::vector<double>, std::vector<double> > Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::GetNormDistribution ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

◆ GetNormMax()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static std::tuple<double, std::size_t> Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::GetNormMax ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

◆ GetNormMedian()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static double Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::GetNormMedian ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

◆ GetNormMin()

template<class TContainerType , class TContainerItemType , template< class T > class TDataRetrievalFunctor>
template<class TDataType >
static std::tuple<double, std::size_t> Kratos::SpatialMethods::ContainerSpatialMethods< TContainerType, TContainerItemType, TDataRetrievalFunctor >::GetNormMin ( const ModelPart rModelPart,
const Variable< TDataType > &  rVariable,
const std::string &  rNormType,
Parameters  Params 
)
inlinestatic

The documentation for this class was generated from the following file: