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_constitutive_law_to_python.cpp File Reference
#include "add_constitutive_law_to_python.h"
#include "includes/properties.h"
#include "includes/define_python.h"
#include "includes/constitutive_law.h"
#include "containers/variable.h"
Include dependency graph for add_constitutive_law_to_python.cpp:

Namespaces

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

Typedefs

using Kratos::Python::SizeType = std::size_t
 
using Kratos::Python::ConstitutiveLawBaseType = ConstitutiveLaw
 

Functions

template<class TVariableType >
bool Kratos::Python::ConstitutiveLawHas (ConstitutiveLaw &rThisConstitutiveLaw, TVariableType const &rThisVariable)
 
template<class TDataType >
const TDataType Kratos::Python::ConstitutiveLawGetValue (ConstitutiveLaw &rThisConstitutiveLaw, const Variable< TDataType > &rThisVariable, TDataType &value)
 
template<class TDataType >
const TDataType Kratos::Python::ConstitutiveLawCalculateValue (ConstitutiveLaw &rThisConstitutiveLaw, ConstitutiveLaw::Parameters &rValues, const Variable< TDataType > &rThisVariable, TDataType &value)
 
template<class TDataType >
void Kratos::Python::ConstitutiveLawSetValue (ConstitutiveLaw &rThisConstitutiveLaw, const Variable< TDataType > &rThisVariable, TDataType &value, const ProcessInfo &rCurrentProcessInfo)
 
void Kratos::Python::NewInterfaceCalculateMaterialResponse (ConstitutiveLaw &rThisConstitutiveLaw, ConstitutiveLaw::Parameters &rValues, const ConstitutiveLaw::StressMeasure &rStressMeasure)
 
Flags Kratos::Python::GetFeaturesOptions (ConstitutiveLaw::Features &rThisFeatures)
 
SizeType Kratos::Python::GetStrainSizeFeatures (ConstitutiveLaw::Features &rThisFeatures)
 
SizeType Kratos::Python::GetSpaceDimensionFeatures (ConstitutiveLaw::Features &rThisFeatures)
 
std::vector< ConstitutiveLaw::StrainMeasure > & Kratos::Python::GetStrainMeasuresFeatures (ConstitutiveLaw::Features &rThisFeatures)
 
Flags Kratos::Python::GetLawOptions (ConstitutiveLaw::Parameters &rThisParameters)
 
double Kratos::Python::GetDeterminantF1 (ConstitutiveLaw::Parameters &rThisParameters)
 
ConstitutiveLaw::StrainVectorType & Kratos::Python::GetStrainVector1 (ConstitutiveLaw::Parameters &rThisParameters)
 
ConstitutiveLaw::StrainVectorType & Kratos::Python::GetStrainVector2 (ConstitutiveLaw::Parameters &rThisParameters, ConstitutiveLaw::StrainVectorType &strain)
 
ConstitutiveLaw::StressVectorType & Kratos::Python::GetStressVector1 (ConstitutiveLaw::Parameters &rThisParameters)
 
ConstitutiveLaw::StressVectorType & Kratos::Python::GetStressVector2 (ConstitutiveLaw::Parameters &rThisParameters, ConstitutiveLaw::StressVectorType &stress)
 
ConstitutiveLaw::VoigtSizeMatrixType & Kratos::Python::GetConstitutiveMatrix1 (ConstitutiveLaw::Parameters &rThisParameters)
 
ConstitutiveLaw::VoigtSizeMatrixType & Kratos::Python::GetConstitutiveMatrix2 (ConstitutiveLaw::Parameters &rThisParameters, ConstitutiveLaw::VoigtSizeMatrixType &C)
 
const ConstitutiveLaw::DeformationGradientMatrixType & Kratos::Python::GetDeformationGradientF1 (ConstitutiveLaw::Parameters &rThisParameters)
 
ConstitutiveLaw::DeformationGradientMatrixType & Kratos::Python::GetDeformationGradientF2 (ConstitutiveLaw::Parameters &rThisParameters, ConstitutiveLaw::DeformationGradientMatrixType &F)
 
ConstitutiveLaw::Pointer Kratos::Python::CreateWithoutProperties (ConstitutiveLaw &rThisConstitutiveLaw, Kratos::Parameters NewParameters)
 
ConstitutiveLaw::Pointer Kratos::Python::CreateWithProperties (ConstitutiveLaw &rThisConstitutiveLaw, Kratos::Parameters NewParameters, const Properties &rProperties)
 
void Kratos::Python::AddConstitutiveLawToPython (pybind11::module &m)