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.
List of all members
Kratos::InitialState Class Reference

Define the initial state of the material in terms of initial stress/strain/F. More...

#include <initial_state.h>

Collaboration diagram for Kratos::InitialState:

Public Types

Enum's
enum class  InitialImposingType {
  STRAIN_ONLY = 0 , STRESS_ONLY = 1 , DEFORMATION_GRADIENT_ONLY = 2 , STRAIN_AND_STRESS = 3 ,
  DEFORMATION_GRADIENT_AND_STRESS = 4
}
 

Public Member Functions

Life Cycle
 InitialState ()
 Default constructor. More...
 
 InitialState (const SizeType Dimension)
 Only defining Dimension constructor. More...
 
 InitialState (const Vector &rInitialStrainVector, const Vector &rInitialStressVector, const Matrix &rInitialDeformationGradientMatrix)
 
 InitialState (const Vector &rImposingEntity, const InitialImposingType InitialImposition=InitialImposingType::STRAIN_ONLY)
 
 InitialState (const Vector &rInitialStrainVector, const Vector &rInitialStressVector)
 
 InitialState (const Matrix &rInitialDeformationGradientMatrix)
 
virtual ~InitialState ()
 Destructor. More...
 
Operations
unsigned int use_count () const noexcept
 
void SetInitialStrainVector (const Vector &rInitialStrainVector)
 This method sets the initial strain vector. More...
 
void SetInitialStressVector (const Vector &rInitialStressVector)
 This method sets the initial stress vector. More...
 
void SetInitialDeformationGradientMatrix (const Matrix &rInitialDeformationGradientMatrix)
 This method sets the initial deformation gradient matrix. More...
 
const VectorGetInitialStrainVector () const
 This method returns the initial strain vector if was set before. More...
 
const VectorGetInitialStressVector () const
 This method returns the initial stress vector if was set before. More...
 
const MatrixGetInitialDeformationGradientMatrix () const
 This method returns the initial stress vector if was set before. More...
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

using SizeType = std::size_t
 
 KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION (InitialState)
 Pointer definition of NodeSearchUtility. More...
 

Member Variables

class Serializer
 
void intrusive_ptr_add_ref (const InitialState *x)
 
void intrusive_ptr_release (const InitialState *x)
 

Detailed Description

Define the initial state of the material in terms of initial stress/strain/F.

Storages the information regarding initial stresses/strains/F

Author
Alejandro Cornejo

Member Typedef Documentation

◆ SizeType

using Kratos::InitialState::SizeType = std::size_t

Member Enumeration Documentation

◆ InitialImposingType

Enumerator
STRAIN_ONLY 
STRESS_ONLY 
DEFORMATION_GRADIENT_ONLY 
STRAIN_AND_STRESS 
DEFORMATION_GRADIENT_AND_STRESS 

Constructor & Destructor Documentation

◆ InitialState()

Kratos::InitialState::InitialState ( )
inline

Default constructor.

◆ ~InitialState()

virtual Kratos::InitialState::~InitialState ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Info()

virtual std::string Kratos::InitialState::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION()

Kratos::InitialState::KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION ( InitialState  )

Pointer definition of NodeSearchUtility.

◆ PrintData()

virtual void Kratos::InitialState::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::InitialState::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ use_count()

unsigned int Kratos::InitialState::use_count ( ) const
inlinenoexcept

Friends And Related Function Documentation

◆ intrusive_ptr_add_ref

void intrusive_ptr_add_ref ( const InitialState x)
friend

◆ intrusive_ptr_release

void intrusive_ptr_release ( const InitialState x)
friend

◆ Serializer

friend class Serializer
friend

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