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
add_variable_utils_to_python.cpp File Reference
#include "python/add_variable_utils_to_python.h"
#include "includes/define_python.h"
#include "utilities/variable_utils.h"
Include dependency graph for add_variable_utils_to_python.cpp:

Namespaces

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

Functions

template<class TDataType >
void Kratos::Python::AddCopyModelPartFlaggedInterface (pybind11::class_< VariableUtils > &rPythonVariableUtils)
 
void Kratos::Python::VariableUtilsUpdateCurrentPosition (VariableUtils &rVariableUtils, const ModelPart::NodesContainerType &rNodes)
 
void Kratos::Python::VariableUtilsUpdateCurrentPositionWithVariable (VariableUtils &rVariableUtils, const ModelPart::NodesContainerType &rNodes, const VariableUtils::ArrayVarType &rUpdateVariable)
 
void Kratos::Python::VariableUtilsUpdateCurrentPositionWithVariableAndPosition (VariableUtils &rVariableUtils, const ModelPart::NodesContainerType &rNodes, const VariableUtils::ArrayVarType &rUpdateVariable, const IndexType BufferPosition)
 
template<class TVarType >
void Kratos::Python::VariableUtilsCopyModelPartNodalVar (VariableUtils &rVariableUtils, const TVarType &rVariable, const ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, const unsigned int BuffStep=0)
 
template<class TVarType >
void Kratos::Python::VariableUtilsCopyModelPartNodalVarWithDestination (VariableUtils &rVariableUtils, const TVarType &rVariable, const TVarType &rDestinationVariable, const ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, const unsigned int BuffStep=0)
 
template<class TVarType >
void Kratos::Python::CopyModelPartNodalVarToNonHistoricalVar (VariableUtils &rVariableUtils, const TVarType &rVariable, const ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, const unsigned int BuffStep=0)
 
template<class TVarType >
void Kratos::Python::CopyModelPartNodalVarToNonHistoricalVarWithDestination (VariableUtils &rVariableUtils, const TVarType &rVariable, const TVarType &rDestinationVariable, const ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, const unsigned int BuffStep=0)
 
template<class TVarType >
void Kratos::Python::ApplyFixity (VariableUtils &rVariableUtils, const TVarType &rVar, const bool IsFixed, ModelPart::NodesContainerType &rNodes)
 
template<class TVarType >
void Kratos::Python::ApplyFlaggedFixity (VariableUtils &rVariableUtils, const TVarType &rVar, const bool IsFixed, ModelPart::NodesContainerType &rNodes, const Flags &rFlag, const bool CheckValue)
 
template<class TDataType , class TVarType = Variable<TDataType>>
void Kratos::Python::VariableUtilsSetVariable (VariableUtils &rVariableUtils, const TVarType &rVariable, const TDataType &rValue, ModelPart::NodesContainerType &rNodes)
 Auxiliary set variable export function This function is required to export the SetVariable overloaded method with a unique name. More...
 
template<class TDataType , class TVarType = Variable<TDataType>>
void Kratos::Python::VariableUtilsSetVariableForFlag (VariableUtils &rVariableUtils, const TVarType &rVariable, const TDataType &rValue, ModelPart::NodesContainerType &rNodes, const Flags Flag, const bool CheckValue=true)
 Auxiliary set variable export function This function is required to export the SetVariable with flag overloaded method with a unique name. More...
 
template<class TDataType , class TContainerType , class TVarType = Variable<TDataType>>
void Kratos::Python::VariableUtilsSetNonHistoricalVariable (VariableUtils &rVariableUtils, const TVarType &rVariable, const TDataType &rValue, TContainerType &rContainer)
 
template<class TDataType , class TContainerType , class TVarType = Variable<TDataType>>
void Kratos::Python::VariableUtilsSetNonHistoricalVariableForFlag (VariableUtils &rVariableUtils, const TVarType &rVariable, const TDataType &rValue, TContainerType &rContainer, const Flags Flag, const bool CheckValue=true)
 
void Kratos::Python::AddVariableUtilsToPython (pybind11::module &m)