Skip to content

Commit 21bf590

Browse files
authored
Clean use of topology link (#141)
1 parent 914eabf commit 21bf590

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/ModelOrderReduction/component/forcefield/HyperReducedHexahedronFEMForceField.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ class HyperReducedHexahedronFEMForceField : public virtual HexahedronFEMForceFie
8181
using HexahedronFEMForceField<DataTypes>::m_potentialEnergy;
8282

8383

84-
using HexahedronFEMForceField<DataTypes>::m_topology;
8584
using HexahedronFEMForceField<DataTypes>::_sparseGrid;
8685
using HexahedronFEMForceField<DataTypes>::_initialPoints; ///< the intial positions of the points
8786

@@ -152,7 +151,7 @@ class HyperReducedHexahedronFEMForceField : public virtual HexahedronFEMForceFie
152151

153152
inline const VecElement *getIndexedElements()
154153
{
155-
return & (m_topology->getHexahedra());
154+
return & (this->l_topology->getHexahedra());
156155
}
157156

158157

src/ModelOrderReduction/component/forcefield/HyperReducedTriangleFEMForceField.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ class HyperReducedTriangleFEMForceField : public virtual TriangleFEMForceField<D
8383
typedef type::Mat<9, 9, Real> StiffnessMatrix;
8484

8585

86-
using TriangleFEMForceField<DataTypes>::m_topology;
8786
using TriangleFEMForceField<DataTypes>::_indexedElements;
8887
using TriangleFEMForceField<DataTypes>::_initialPoints; ///< the intial positions of the points
8988
using TriangleFEMForceField<DataTypes>::_rotatedInitialElements; ///< The initials positions in its frame

0 commit comments

Comments
 (0)