@@ -13,12 +13,12 @@ namespace elasticity
1313{
1414
1515template <class TDataTypes , class TElementType >
16- class ElementHyperelasticityFEMForceField :
16+ class HyperelasticityFEMForceField :
1717 public sofa::component::solidmechanics::fem::elastic::FEMForceField<TDataTypes, TElementType>
1818{
1919public:
2020 SOFA_CLASS (
21- SOFA_TEMPLATE2 (ElementHyperelasticityFEMForceField , TDataTypes, TElementType),
21+ SOFA_TEMPLATE2 (HyperelasticityFEMForceField , TDataTypes, TElementType),
2222 SOFA_TEMPLATE2(sofa::component::solidmechanics::fem::elastic::FEMForceField, TDataTypes, TElementType));
2323
2424 using DataTypes = TDataTypes;
@@ -132,16 +132,16 @@ class ElementHyperelasticityFEMForceField :
132132 const sofa::VecDeriv_t<TDataTypes>& dx) override ;
133133};
134134
135- #if !defined(ELASTICITY_COMPONENT_ELEMENT_HYPERLASTICITY_FEM_FORCE_FIELD_CPP )
136- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec1Types, sofa::geometry::Edge>;
137- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec2Types, sofa::geometry::Edge>;
138- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Edge>;
139- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec2Types, sofa::geometry::Triangle>;
140- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Triangle>;
141- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec2Types, sofa::geometry::Quad>;
142- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Quad>;
143- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Tetrahedron>;
144- template class ELASTICITY_API ElementHyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Hexahedron>;
135+ #if !defined(ELASTICITY_COMPONENT_HYPERLASTICITY_FEM_FORCE_FIELD_CPP )
136+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec1Types, sofa::geometry::Edge>;
137+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec2Types, sofa::geometry::Edge>;
138+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Edge>;
139+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec2Types, sofa::geometry::Triangle>;
140+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Triangle>;
141+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec2Types, sofa::geometry::Quad>;
142+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Quad>;
143+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Tetrahedron>;
144+ template class ELASTICITY_API HyperelasticityFEMForceField <sofa::defaulttype::Vec3Types, sofa::geometry::Hexahedron>;
145145#endif
146146
147147} // namespace elasticity
0 commit comments