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 | Typedefs | Functions
add_properties_to_python.cpp File Reference
#include "includes/define_python.h"
#include "includes/mesh.h"
#include "includes/element.h"
#include "includes/condition.h"
#include "includes/properties.h"
#include "includes/constitutive_law.h"
#include "python/add_properties_to_python.h"
#include "python/containers_interface.h"
Include dependency graph for add_properties_to_python.cpp:

Namespaces

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

Typedefs

using AccessorBindType = std::unique_ptr< Kratos::Accessor >
 
using Kratos::Python::PropertiesContainerType = PointerVectorSet< Properties, IndexedObject >
 

Functions

 PYBIND11_MAKE_OPAQUE (AccessorBindType)
 
template<class TContainerType , class TVariableType >
bool Kratos::Python::PropertiesHasHelperFunction (TContainerType &rProperties, const TVariableType &rVar)
 
template<class TContainerType , class TVariableType >
void Kratos::Python::SetValueHelperFunction1 (TContainerType &rProperties, const TVariableType &rVar, const typename TVariableType::Type &rData)
 
PropertiesContainerType & Kratos::Python::GetSubPropertiesArray1 (Properties &rProperties)
 
PropertiesContainerType const & Kratos::Python::GetSubPropertiesArray2 (const Properties &rProperties)
 
bool Kratos::Python::HasSubProperties1 (Properties &rProperties, IndexType Index)
 
Properties::Pointer Kratos::Python::GetSubProperties1 (Properties &rProperties, IndexType Index)
 
void Kratos::Python::SetArrayValue (Properties &rProperties, const Variable< array_1d< double, 3 >> &rVar, const std::vector< double > &rData)
 
void Kratos::Python::SetVectorValue (Properties &rProperties, const Variable< Vector > &rVar, const std::vector< double > &rData)
 
template<class TContainerType , class TVariableType >
TVariableType::Type Kratos::Python::GetValueHelperFunction1 (TContainerType &rContainer, const TVariableType &rVar)
 
template<class TContainerType , class TVariableType >
void Kratos::Python::EraseHelperFunction1 (TContainerType &rContainer, const TVariableType &rVar)
 
template<class TContainerType , class XVariableType , class YVariableType >
void Kratos::Python::SetTableHelperFunction1 (TContainerType &rContainer, const XVariableType &XVar, const YVariableType &YVar, const typename Properties::TableType &rData)
 
template<class TContainerType , class XVariableType , class YVariableType >
Properties::TableType & Kratos::Python::GetTableHelperFunction1 (TContainerType &rContainer, const XVariableType &XVar, const YVariableType &YVar)
 
template<class TContainerType , class XVariableType , class YVariableType >
bool Kratos::Python::HasTableHelperFunction1 (TContainerType &rContainer, const XVariableType &XVar, const YVariableType &YVar)
 
template<typename TVariableType >
void Kratos::Python::AddInterfaceToAccessorFold (pybind11::class_< Properties, Properties::Pointer, Properties::BaseType > &pyProperties)
 
template<typename... TArgs>
void Kratos::Python::AddInterfaceToAccessor (pybind11::class_< Properties, Properties::Pointer, Properties::BaseType > &pyProperties)
 
void Kratos::Python::AddPropertiesToPython (pybind11::module &m)
 

Typedef Documentation

◆ AccessorBindType

using AccessorBindType = std::unique_ptr<Kratos::Accessor>

Function Documentation

◆ PYBIND11_MAKE_OPAQUE()

PYBIND11_MAKE_OPAQUE ( AccessorBindType  )