Skip to content

Commit

Permalink
Clean use of topology link (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger authored Sep 4, 2024
1 parent 914eabf commit 21bf590
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class HyperReducedHexahedronFEMForceField : public virtual HexahedronFEMForceFie
using HexahedronFEMForceField<DataTypes>::m_potentialEnergy;


using HexahedronFEMForceField<DataTypes>::m_topology;
using HexahedronFEMForceField<DataTypes>::_sparseGrid;
using HexahedronFEMForceField<DataTypes>::_initialPoints; ///< the intial positions of the points

Expand Down Expand Up @@ -152,7 +151,7 @@ class HyperReducedHexahedronFEMForceField : public virtual HexahedronFEMForceFie

inline const VecElement *getIndexedElements()
{
return & (m_topology->getHexahedra());
return & (this->l_topology->getHexahedra());
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ class HyperReducedTriangleFEMForceField : public virtual TriangleFEMForceField<D
typedef type::Mat<9, 9, Real> StiffnessMatrix;


using TriangleFEMForceField<DataTypes>::m_topology;
using TriangleFEMForceField<DataTypes>::_indexedElements;
using TriangleFEMForceField<DataTypes>::_initialPoints; ///< the intial positions of the points
using TriangleFEMForceField<DataTypes>::_rotatedInitialElements; ///< The initials positions in its frame
Expand Down

0 comments on commit 21bf590

Please sign in to comment.