SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation Class Reference

#include <TetrahedronHyperelasticityFEMForceField.h>

data structure stored for each tetrahedron More...

Inheritance diagram for sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation:

Detailed Description

template<class DataTypes>
class sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation

data structure stored for each tetrahedron

Public Attributes

Coord m_shapeVector [4]
 shape vector at the rest configuration More...
 
Coord m_fiberDirection
 fiber direction in rest configuration More...
 
Real m_restVolume {}
 rest volume More...
 
Real m_volScale {}
 current tetrahedron volume More...
 
Real m_volume {}
 
MatrixSym m_SPKTensorGeneral
 volume/ restVolume More...
 
Matrix3 m_deformationGradient
 deformation gradient = gradPhi More...
 
Real m_strainEnergy {}
 right Cauchy-Green deformation tensor C (gradPhi^T gradPhi) More...
 
- Public Attributes inherited from sofa::component::solidmechanics::fem::hyperelastic::material::StrainInformation< DataTypes >
Real trC
 Trace of C = I1. More...
 
Real J
 
Real lambda
 
Real trCsquare
 Trace of C^2 : I2 = (trCSquare - trC^2)/2. More...
 
bool hasBeenInitialized
 boolean indicating whether the invariants have been computed More...
 
MatrixSym deformationTensor
 right Cauchy-Green deformation tensor C (gradPhi^T gradPhi) More...
 
EigenMatrix Evect
 
CoordEigen Evalue
 
Real logJ
 
MatrixSym E
 

Public Member Functions

 TetrahedronRestInformation ()=default
 
- Public Member Functions inherited from sofa::component::solidmechanics::fem::hyperelastic::material::StrainInformation< DataTypes >
 StrainInformation ()
 
virtual ~StrainInformation ()
 

Friends

std::ostream & operator<< (std::ostream &os, const TetrahedronRestInformation &)
 Output stream. More...
 
std::istream & operator>> (std::istream &in, TetrahedronRestInformation &)
 Input stream. More...
 

Attribute details

◆ m_deformationGradient

template<class DataTypes >
Matrix3 sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_deformationGradient

deformation gradient = gradPhi

◆ m_fiberDirection

template<class DataTypes >
Coord sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_fiberDirection

fiber direction in rest configuration

◆ m_restVolume

template<class DataTypes >
Real sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_restVolume {}

rest volume

◆ m_shapeVector

template<class DataTypes >
Coord sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_shapeVector[4]

shape vector at the rest configuration

◆ m_SPKTensorGeneral

template<class DataTypes >
MatrixSym sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_SPKTensorGeneral

volume/ restVolume

◆ m_strainEnergy

template<class DataTypes >
Real sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_strainEnergy {}

right Cauchy-Green deformation tensor C (gradPhi^T gradPhi)

◆ m_volScale

template<class DataTypes >
Real sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_volScale {}

current tetrahedron volume

◆ m_volume

template<class DataTypes >
Real sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::m_volume {}

Constructor details

◆ TetrahedronRestInformation()

template<class DataTypes >
sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >::TetrahedronRestInformation::TetrahedronRestInformation ( )
default

Related details

◆ operator<<

template<class DataTypes >
std::ostream& operator<< ( std::ostream &  os,
const TetrahedronRestInformation  
)
friend

Output stream.

◆ operator>>

template<class DataTypes >
std::istream& operator>> ( std::istream &  in,
TetrahedronRestInformation  
)
friend

Input stream.