Skip to content

Commit 7e3fe9e

Browse files
alxbilgerfredroy
authored andcommitted
update SOFA_CLASS
1 parent 2ccb75f commit 7e3fe9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sofa/Component/SolidMechanics/FEM/Elastic/src/sofa/component/solidmechanics/fem/elastic/BaseLinearElasticityFEMForceField.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class BaseLinearElasticityFEMForceField : virtual public core::behavior::ForceFi
4040
using VecReal = typename DataTypes::VecReal;
4141
using Real = typename DataTypes::Real;
4242

43-
SOFA_CLASS(SOFA_TEMPLATE(BaseLinearElasticityFEMForceField, DataTypes), SOFA_TEMPLATE(core::behavior::ForceField, DataTypes));
43+
SOFA_CLASS2(SOFA_TEMPLATE(BaseLinearElasticityFEMForceField, DataTypes), SOFA_TEMPLATE(core::behavior::ForceField, DataTypes), core::behavior::TopologyAccessor);
4444

4545
Data<VecReal > d_poissonRatio; ///< FEM Poisson Ratio in Hooke's law [0,0.5[
4646
Data<VecReal > d_youngModulus; ///< FEM Young's Modulus in Hooke's law

Sofa/Component/SolidMechanics/FEM/Elastic/src/sofa/component/solidmechanics/fem/elastic/QuadBendingFEMForceField.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ template<class DataTypes>
4242
class QuadBendingFEMForceField : public core::behavior::ForceField<DataTypes>, public virtual core::behavior::TopologyAccessor
4343
{
4444
public:
45-
SOFA_CLASS(SOFA_TEMPLATE(QuadBendingFEMForceField, DataTypes), SOFA_TEMPLATE(core::behavior::ForceField, DataTypes));
45+
SOFA_CLASS2(SOFA_TEMPLATE(QuadBendingFEMForceField, DataTypes), SOFA_TEMPLATE(core::behavior::ForceField, DataTypes), core::behavior::TopologyAccessor);
4646

4747
typedef core::behavior::ForceField<DataTypes> Inherited;
4848
typedef typename DataTypes::VecCoord VecCoord;

0 commit comments

Comments
 (0)