SOFA API  56988ca1
Open source framework for multi-physics simuation
sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation Class Reference

#include <TriangularFEMForceField.h>

Class to store FEM information on each triangle, for topology modification handling. More...

Detailed Description

template<class DataTypes>
class sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation

Class to store FEM information on each triangle, for topology modification handling.

Public Attributes

MaterialStiffness materialMatrix
 material stiffness matrices of each triangle More...
 
StrainDisplacement strainDisplacementMatrix
 the stiffness matrix More...
 
Stiffness stiffness
 
Real area
 
type::fixed_array< Coord, 3 > rotatedInitialElements
 
Transformation rotation
 
type::Vec< 3, Realstrain
 
type::Vec< 3, Realstress
 
Transformation initialTransformation
 
Coord principalStressDirection
 
Real maxStress
 
Coord principalStrainDirection
 
Real maxStrain
 
Real differenceToCriteria
 
type::vector< CoordlastNStressDirection
 

Public Member Functions

 TriangleInformation ()=default
 

Friends

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

Attribute details

◆ area

template<class DataTypes >
Real sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::area

◆ differenceToCriteria

template<class DataTypes >
Real sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::differenceToCriteria

◆ initialTransformation

template<class DataTypes >
Transformation sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::initialTransformation

◆ lastNStressDirection

template<class DataTypes >
type::vector<Coord> sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::lastNStressDirection

◆ materialMatrix

template<class DataTypes >
MaterialStiffness sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::materialMatrix

material stiffness matrices of each triangle

the strain-displacement matrices vector

◆ maxStrain

template<class DataTypes >
Real sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::maxStrain

◆ maxStress

template<class DataTypes >
Real sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::maxStress

◆ principalStrainDirection

template<class DataTypes >
Coord sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::principalStrainDirection

◆ principalStressDirection

template<class DataTypes >
Coord sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::principalStressDirection

◆ rotatedInitialElements

template<class DataTypes >
type::fixed_array<Coord,3> sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::rotatedInitialElements

◆ rotation

template<class DataTypes >
Transformation sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::rotation

◆ stiffness

template<class DataTypes >
Stiffness sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::stiffness

◆ strain

template<class DataTypes >
type::Vec<3,Real> sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::strain

◆ strainDisplacementMatrix

template<class DataTypes >
StrainDisplacement sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::strainDisplacementMatrix

the stiffness matrix

◆ stress

template<class DataTypes >
type::Vec<3,Real> sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::stress

Constructor details

◆ TriangleInformation()

template<class DataTypes >
sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >::TriangleInformation::TriangleInformation ( )
default

Related details

◆ operator<<

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

Output stream.

◆ operator>>

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

Input stream.