SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation Class Reference

#include <StandardTetrahedralFEMForceField.h>

data structure stored for each tetrahedron More...

Inheritance diagram for sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation:

Detailed Description

template<class DataTypes>
class sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation

data structure stored for each tetrahedron

Public Attributes

Real restVolume
 rest volume More...
 
Real volScale
 current tetrahedron volume More...
 
Coord shapeVector [4]
 shape vector at the rest configuration More...
 
Coord fiberDirection
 fiber direction in rest configuration More...
 
Coord dJ [4]
 derivatives of J More...
 
Real strainEnergy
 deformation gradient = gradPhi More...
 
float tetraIndices [4]
 
float tetraEdges [6]
 
- Public Attributes inherited from sofa::component::fem::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 ()
 
- Public Member Functions inherited from sofa::component::fem::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

template<class DataTypes >
Coord sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::dJ[4]

derivatives of J

template<class DataTypes >
Coord sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::fiberDirection

fiber direction in rest configuration

template<class DataTypes >
Real sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::restVolume

rest volume

template<class DataTypes >
Coord sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::shapeVector[4]

shape vector at the rest configuration

template<class DataTypes >
Real sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::strainEnergy

deformation gradient = gradPhi

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

template<class DataTypes >
float sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::tetraEdges[6]
template<class DataTypes >
float sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::tetraIndices[4]
template<class DataTypes >
Real sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::volScale

current tetrahedron volume

Constructor details

template<class DataTypes >
sofa::component::forcefield::StandardTetrahedralFEMForceField< DataTypes >::TetrahedronRestInformation::TetrahedronRestInformation ( )
inline

Related details

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

Output stream.

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

Input stream.