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.
Public Member Functions | List of all members
Kratos::ShellCrossSection::SectionParameters Class Reference

SectionParameters. More...

#include <shell_cross_section.hpp>

Collaboration diagram for Kratos::ShellCrossSection::SectionParameters:

Public Member Functions

 SectionParameters ()
 
 SectionParameters (const GeometryType &rElementGeometry, const Properties &rMaterialProperties, const ProcessInfo &rCurrentProcessInfo)
 
 SectionParameters (const SectionParameters &rNewParameters)
 
bool CheckShapeFunctions ()
 
bool CheckInfoMaterialGeometry ()
 
bool CheckMechanicalVariables ()
 
void Set (const Flags ThisFlag)
 
void Reset (const Flags ThisFlag)
 
void SetOptions (const Flags &rOptions)
 
void SetGeneralizedStrainVector (Vector &rGeneralizedStrainVector)
 
void SetGeneralizedStressVector (Vector &rGeneralizedStressVector)
 
void SetConstitutiveMatrix (Matrix &rConstitutiveMatrix)
 
void SetShapeFunctionsValues (const Vector &rShapeFunctionsValues)
 
void SetShapeFunctionsDerivatives (const Matrix &rShapeFunctionsDerivatives)
 
void SetProcessInfo (const ProcessInfo &rProcessInfo)
 
void SetMaterialProperties (const Properties &rMaterialProperties)
 
void SetElementGeometry (const GeometryType &rElementGeometry)
 
void SetStenbergShearStabilization (const double &StenbergShearStabilization)
 
FlagsGetOptions ()
 
VectorGetGeneralizedStrainVector ()
 
VectorGetGeneralizedStressVector ()
 
MatrixGetConstitutiveMatrix ()
 
const VectorGetShapeFunctionsValues ()
 
const MatrixGetShapeFunctionsDerivatives ()
 
const ProcessInfoGetProcessInfo ()
 
const PropertiesGetMaterialProperties ()
 
const GeometryTypeGetElementGeometry ()
 
double GetStenbergShearStabilization ()
 

Detailed Description

SectionParameters.

SectionParameters is an accessibility class for shells using the ShellCrossSection class. It allows one to set and get vectors and matrices associated with the shell cross section, such as strains, stresses and the constitutive matrix.

An example application is taken from shell_thick_3D4N.cpp, before it's stiffness matrix gauss loop is entered:

ShellCrossSection::SectionParameters parameters(geom, props, rCurrentProcessInfo); parameters.SetGeneralizedStrainVector( generalizedStrains ); parameters.SetGeneralizedStressVector( generalizedStresses ); parameters.SetConstitutiveMatrix( D ); Flags& options = parameters.GetOptions(); options.Set(ConstitutiveLaw::COMPUTE_STRESS, RHSrequired); options.Set(ConstitutiveLaw::COMPUTE_CONSTITUTIVE_TENSOR, LHSrequired);

Constructor & Destructor Documentation

◆ SectionParameters() [1/3]

Kratos::ShellCrossSection::SectionParameters::SectionParameters ( )
inline

◆ SectionParameters() [2/3]

Kratos::ShellCrossSection::SectionParameters::SectionParameters ( const GeometryType rElementGeometry,
const Properties rMaterialProperties,
const ProcessInfo rCurrentProcessInfo 
)
inline

◆ SectionParameters() [3/3]

Kratos::ShellCrossSection::SectionParameters::SectionParameters ( const SectionParameters rNewParameters)
inline

Member Function Documentation

◆ CheckInfoMaterialGeometry()

bool Kratos::ShellCrossSection::SectionParameters::CheckInfoMaterialGeometry ( )
inline

Checks currentprocessinfo, material properties and geometry

◆ CheckMechanicalVariables()

bool Kratos::ShellCrossSection::SectionParameters::CheckMechanicalVariables ( )
inline

Check deformation gradient, strains ans stresses assigned

◆ CheckShapeFunctions()

bool Kratos::ShellCrossSection::SectionParameters::CheckShapeFunctions ( )
inline

Checks shape functions and shape function derivatives

◆ GetConstitutiveMatrix()

Matrix& Kratos::ShellCrossSection::SectionParameters::GetConstitutiveMatrix ( )
inline

◆ GetElementGeometry()

const GeometryType& Kratos::ShellCrossSection::SectionParameters::GetElementGeometry ( )
inline

◆ GetGeneralizedStrainVector()

Vector& Kratos::ShellCrossSection::SectionParameters::GetGeneralizedStrainVector ( )
inline

◆ GetGeneralizedStressVector()

Vector& Kratos::ShellCrossSection::SectionParameters::GetGeneralizedStressVector ( )
inline

◆ GetMaterialProperties()

const Properties& Kratos::ShellCrossSection::SectionParameters::GetMaterialProperties ( )
inline

◆ GetOptions()

Flags& Kratos::ShellCrossSection::SectionParameters::GetOptions ( )
inline

returns the reference or the value of a specified variable: returns the value of the parameter, only non const values can be modified

◆ GetProcessInfo()

const ProcessInfo& Kratos::ShellCrossSection::SectionParameters::GetProcessInfo ( )
inline

◆ GetShapeFunctionsDerivatives()

const Matrix& Kratos::ShellCrossSection::SectionParameters::GetShapeFunctionsDerivatives ( )
inline

◆ GetShapeFunctionsValues()

const Vector& Kratos::ShellCrossSection::SectionParameters::GetShapeFunctionsValues ( )
inline

◆ GetStenbergShearStabilization()

double Kratos::ShellCrossSection::SectionParameters::GetStenbergShearStabilization ( )
inline

◆ Reset()

void Kratos::ShellCrossSection::SectionParameters::Reset ( const Flags  ThisFlag)
inline

◆ Set()

void Kratos::ShellCrossSection::SectionParameters::Set ( const Flags  ThisFlag)
inline

Public Methods to access variables of the struct class sets the variable or the pointer of a specified variable: assigns the direction of the pointer for the mpvariables, only non const values can be modified

◆ SetConstitutiveMatrix()

void Kratos::ShellCrossSection::SectionParameters::SetConstitutiveMatrix ( Matrix rConstitutiveMatrix)
inline

◆ SetElementGeometry()

void Kratos::ShellCrossSection::SectionParameters::SetElementGeometry ( const GeometryType rElementGeometry)
inline

◆ SetGeneralizedStrainVector()

void Kratos::ShellCrossSection::SectionParameters::SetGeneralizedStrainVector ( Vector rGeneralizedStrainVector)
inline

◆ SetGeneralizedStressVector()

void Kratos::ShellCrossSection::SectionParameters::SetGeneralizedStressVector ( Vector rGeneralizedStressVector)
inline

◆ SetMaterialProperties()

void Kratos::ShellCrossSection::SectionParameters::SetMaterialProperties ( const Properties rMaterialProperties)
inline

◆ SetOptions()

void Kratos::ShellCrossSection::SectionParameters::SetOptions ( const Flags rOptions)
inline

◆ SetProcessInfo()

void Kratos::ShellCrossSection::SectionParameters::SetProcessInfo ( const ProcessInfo rProcessInfo)
inline

◆ SetShapeFunctionsDerivatives()

void Kratos::ShellCrossSection::SectionParameters::SetShapeFunctionsDerivatives ( const Matrix rShapeFunctionsDerivatives)
inline

◆ SetShapeFunctionsValues()

void Kratos::ShellCrossSection::SectionParameters::SetShapeFunctionsValues ( const Vector rShapeFunctionsValues)
inline

◆ SetStenbergShearStabilization()

void Kratos::ShellCrossSection::SectionParameters::SetStenbergShearStabilization ( const double StenbergShearStabilization)
inline

The documentation for this class was generated from the following file: