SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::fem::MaterialParameters< DataTypes > Struct Template Reference

#include <HyperelasticMaterial.h>

Detailed Description

template<typename DataTypes>
struct sofa::component::fem::MaterialParameters< DataTypes >

structure that store the parameters required to that are necessary to compute the strain energy The material parameters might be constant in space (homogeneous material) or not

Public Attributes

std::vector< RealparameterArray
 
std::vector< CoordanisotropyDirection
 
std::vector< RealparameterAlpha
 
std::vector< RealparameterTau
 

Attribute details

template<typename DataTypes >
std::vector<Coord> sofa::component::fem::MaterialParameters< DataTypes >::anisotropyDirection

the direction of anisotropy in the rest configuration : the size of the array is 0 if the material is isotropic, 1 if it is transversely isotropic and 2 for orthotropic materials (assumed to be orthogonal to each other)

template<typename DataTypes >
std::vector<Real> sofa::component::fem::MaterialParameters< DataTypes >::parameterAlpha

for viscous part, give the real alphai and taui such as alpha(t)= alpha0+sum(1,N)alphaiexp(-t/taui)

template<typename DataTypes >
std::vector<Real> sofa::component::fem::MaterialParameters< DataTypes >::parameterArray

an array of Real values that correspond to the material parameters : the size depends on the material, e.g. 2 Lame coefficients for St-Venant Kirchhoff materials

template<typename DataTypes >
std::vector<Real> sofa::component::fem::MaterialParameters< DataTypes >::parameterTau