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.
Classes | Namespaces | Macros | Typedefs | Functions
method_utilities.h File Reference
#include <functional>
#include "includes/model_part.h"
Include dependency graph for method_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Kratos::MethodUtilities::NonHistoricalDataValueRetrievalFunctor< TContainerItemType >
 
class  Kratos::MethodUtilities::HistoricalDataValueRetrievalFunctor< TContainerItemType >
 

Namespaces

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

Macros

#define ADD_TEMPORAL_VALUE_METHOD_ONE_OUTPUT_VARIABLE_OBJECT( model_part, norm_type, input_variable, echo_level, output_variable, object_list, method)
 
#define ADD_TEMPORAL_NORM_METHOD_ONE_OUTPUT_VARIABLE_OBJECT( model_part, norm_type, input_variable, echo_level, output_variable, object_list, method)
 
#define ADD_TEMPORAL_VALUE_METHOD_TWO_OUTPUT_VARIABLE_OBJECT( model_part, norm_type, input_variable, echo_level, output_variable_1, output_variable_2, object_list, method)
 
#define ADD_TEMPORAL_NORM_METHOD_TWO_OUTPUT_VARIABLE_OBJECT( model_part, norm_type, input_variable, echo_level, output_variable_1, output_variable_2, object_list, method)
 

Typedefs

using Kratos::MethodUtilities::NodeType = ModelPart::NodeType
 
using Kratos::MethodUtilities::ConditionType = ModelPart::ConditionType
 
using Kratos::MethodUtilities::ElementType = ModelPart::ElementType
 
using Kratos::MethodUtilities::NodesContainerType = ModelPart::NodesContainerType
 
using Kratos::MethodUtilities::ConditionsContainerType = ModelPart::ConditionsContainerType
 
using Kratos::MethodUtilities::ElementsContainerType = ModelPart::ElementsContainerType
 

Functions

template<class TDataType >
TDataType Kratos::MethodUtilities::RaiseToPower (const TDataType &rData, const double Power)
 
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 >
void Kratos::MethodUtilities::DataTypeSizeInitializer (TDataType &rData, const TDataType &rReferenceData)
 
template<class TDataType >
void Kratos::MethodUtilities::DataTypeSizeChecker (const TDataType &rData, const TDataType &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)
 
template<class TDataType >
const std::function< double(const TDataType &)> Kratos::MethodUtilities::GetNormMethod (const Variable< TDataType > &rVariable, const std::string &rNormType)
 
template<class TDataType >
std::string Kratos::MethodUtilities::GetVariableTypeName ()
 
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)
 

Macro Definition Documentation

◆ ADD_TEMPORAL_NORM_METHOD_ONE_OUTPUT_VARIABLE_OBJECT

#define ADD_TEMPORAL_NORM_METHOD_ONE_OUTPUT_VARIABLE_OBJECT (   model_part,
  norm_type,
  input_variable,
  echo_level,
  output_variable,
  object_list,
  method 
)

◆ ADD_TEMPORAL_NORM_METHOD_TWO_OUTPUT_VARIABLE_OBJECT

#define ADD_TEMPORAL_NORM_METHOD_TWO_OUTPUT_VARIABLE_OBJECT (   model_part,
  norm_type,
  input_variable,
  echo_level,
  output_variable_1,
  output_variable_2,
  object_list,
  method 
)

◆ ADD_TEMPORAL_VALUE_METHOD_ONE_OUTPUT_VARIABLE_OBJECT

#define ADD_TEMPORAL_VALUE_METHOD_ONE_OUTPUT_VARIABLE_OBJECT (   model_part,
  norm_type,
  input_variable,
  echo_level,
  output_variable,
  object_list,
  method 
)

◆ ADD_TEMPORAL_VALUE_METHOD_TWO_OUTPUT_VARIABLE_OBJECT

#define ADD_TEMPORAL_VALUE_METHOD_TWO_OUTPUT_VARIABLE_OBJECT (   model_part,
  norm_type,
  input_variable,
  echo_level,
  output_variable_1,
  output_variable_2,
  object_list,
  method 
)