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.
Namespaces | Functions
method_utilities.cpp File Reference
#include <cmath>
#include "containers/array_1d.h"
#include "includes/define.h"
#include "includes/ublas_interface.h"
#include "method_utilities.h"
Include dependency graph for method_utilities.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::MethodUtilities
 

Functions

template<class TDataType >
TDataType Kratos::MethodUtilities::RaiseToPower (const TDataType &rData, const double Power)
 
template<>
array_1d< double, 3 > Kratos::MethodUtilities::RaiseToPower (const array_1d< double, 3 > &rData, const double Power)
 
template<>
Vector Kratos::MethodUtilities::RaiseToPower (const Vector &rData, const double Power)
 
template<class TDataType >
void Kratos::MethodUtilities::DataTypeSizeInitializer (TDataType &rData, const TDataType &rReferenceData)
 
template<>
void Kratos::MethodUtilities::DataTypeSizeInitializer (Vector &rData, const Vector &rReferenceData)
 
template<class TDataType >
void Kratos::MethodUtilities::DataTypeSizeChecker (const TDataType &rData, const TDataType &rReferenceData)
 
template<>
void Kratos::MethodUtilities::DataTypeSizeChecker (const Vector &rData, const Vector &rReferenceData)
 
template<>
NodesContainerType & Kratos::MethodUtilities::GetLocalDataContainer (ModelPart &rModelPart)
 
template<>
const NodesContainerType & Kratos::MethodUtilities::GetLocalDataContainer (const ModelPart &rModelPart)
 
template<>
NodesContainerType & Kratos::MethodUtilities::GetDataContainer (ModelPart &rModelPart)
 
template<>
const NodesContainerType & Kratos::MethodUtilities::GetDataContainer (const ModelPart &rModelPart)
 
double Kratos::MethodUtilities::GetDoubleValue (const std::string &rInput)
 
int Kratos::MethodUtilities::GetIntegerValue (const std::string &rInput)
 
void Kratos::MethodUtilities::SplitString (std::string &rOutput1, std::string &rOutput2, const std::string &rInput)
 
template<class TDataType >
const std::function< double(const TDataType &)> Kratos::MethodUtilities::GetNormMethod (const Variable< TDataType > &rVariable, const std::string &rNormType)
 
template<>
const std::function< double(const array_1d< double, 3 > &)> Kratos::MethodUtilities::GetNormMethod (const Variable< array_1d< double, 3 >> &rVariable, const std::string &rNormType)
 
template<>
const std::function< double(const Vector &)> Kratos::MethodUtilities::GetNormMethod (const Variable< Vector > &rVariable, const std::string &rNormType)
 
template<>
std::string Kratos::MethodUtilities::GetVariableTypeName< double > ()
 
template<>
std::string Kratos::MethodUtilities::GetVariableTypeName< array_1d< double, 3 > > ()
 
template<>
std::string Kratos::MethodUtilities::GetVariableTypeName< Vector > ()
 
template<>
std::string Kratos::MethodUtilities::GetVariableTypeName< Matrix > ()
 
template<class TDataType >
void Kratos::MethodUtilities::CheckVariableType (const std::vector< std::string > &rVariableNamesList)
 
void Kratos::MethodUtilities::CheckInputOutputVariables (const std::vector< std::string > &rInputVariableNamesList, const std::vector< std::string > &rOutputVariableNamesList)
 
std::vector< double > Kratos::MethodUtilities::SortSortedValuesList (const std::vector< std::vector< double >> &rValues)
 
template double Kratos::MethodUtilities::RaiseToPower (const double &, const double)
 
template int Kratos::MethodUtilities::RaiseToPower (const int &, const double)
 
template const std::function< double(const int &)> Kratos::MethodUtilities::GetNormMethod (const Variable< int > &, const std::string &)
 
template const std::function< double(const double &)> Kratos::MethodUtilities::GetNormMethod (const Variable< double > &, const std::string &)
 
template void Kratos::MethodUtilities::DataTypeSizeInitializer (double &, const double &)
 
template void Kratos::MethodUtilities::DataTypeSizeInitializer (int &, const int &)
 
template void Kratos::MethodUtilities::DataTypeSizeInitializer (array_1d< double, 3 > &, const array_1d< double, 3 > &)
 
template void Kratos::MethodUtilities::DataTypeSizeChecker (const double &, const double &)
 
template void Kratos::MethodUtilities::DataTypeSizeChecker (const int &, const int &)
 
template void Kratos::MethodUtilities::DataTypeSizeChecker (const array_1d< double, 3 > &, const array_1d< double, 3 > &)
 
template void Kratos::MethodUtilities::CheckVariableType< double > (const std::vector< std::string > &rVariableNamesList)
 
template void Kratos::MethodUtilities::CheckVariableType< array_1d< double, 3 > > (const std::vector< std::string > &rVariableNamesList)
 
template void Kratos::MethodUtilities::CheckVariableType< Vector > (const std::vector< std::string > &rVariableNamesList)
 
template void Kratos::MethodUtilities::CheckVariableType< Matrix > (const std::vector< std::string > &rVariableNamesList)