From 21bf59088a74c4b9fdd72c7460b4bb0bc57fb225 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Wed, 4 Sep 2024 16:45:09 +0200 Subject: [PATCH] Clean use of topology link (#141) --- .../component/forcefield/HyperReducedHexahedronFEMForceField.h | 3 +-- .../component/forcefield/HyperReducedTriangleFEMForceField.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ModelOrderReduction/component/forcefield/HyperReducedHexahedronFEMForceField.h b/src/ModelOrderReduction/component/forcefield/HyperReducedHexahedronFEMForceField.h index 7261076f..53988285 100644 --- a/src/ModelOrderReduction/component/forcefield/HyperReducedHexahedronFEMForceField.h +++ b/src/ModelOrderReduction/component/forcefield/HyperReducedHexahedronFEMForceField.h @@ -81,7 +81,6 @@ class HyperReducedHexahedronFEMForceField : public virtual HexahedronFEMForceFie using HexahedronFEMForceField::m_potentialEnergy; - using HexahedronFEMForceField::m_topology; using HexahedronFEMForceField::_sparseGrid; using HexahedronFEMForceField::_initialPoints; ///< the intial positions of the points @@ -152,7 +151,7 @@ class HyperReducedHexahedronFEMForceField : public virtual HexahedronFEMForceFie inline const VecElement *getIndexedElements() { - return & (m_topology->getHexahedra()); + return & (this->l_topology->getHexahedra()); } diff --git a/src/ModelOrderReduction/component/forcefield/HyperReducedTriangleFEMForceField.h b/src/ModelOrderReduction/component/forcefield/HyperReducedTriangleFEMForceField.h index 9153fab4..7267d03b 100644 --- a/src/ModelOrderReduction/component/forcefield/HyperReducedTriangleFEMForceField.h +++ b/src/ModelOrderReduction/component/forcefield/HyperReducedTriangleFEMForceField.h @@ -83,7 +83,6 @@ class HyperReducedTriangleFEMForceField : public virtual TriangleFEMForceField StiffnessMatrix; - using TriangleFEMForceField::m_topology; using TriangleFEMForceField::_indexedElements; using TriangleFEMForceField::_initialPoints; ///< the intial positions of the points using TriangleFEMForceField::_rotatedInitialElements; ///< The initials positions in its frame