Skip to content

Commit

Permalink
[src] Fix compilation due to changes in SOFA master
Browse files Browse the repository at this point in the history
  • Loading branch information
epernod committed Jul 15, 2024
1 parent 72be5ec commit 860645c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Tearing/BaseTearingEngine.inl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void BaseTearingEngine<DataTypes>::init()
{
msg_info() << "Using TriangularFEMForceField component";

helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->triangleInfo);
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->d_triangleInfo);

}
else
Expand Down Expand Up @@ -283,7 +283,7 @@ void BaseTearingEngine<DataTypes>::updateTriangleInformation()
if (m_triangularFEM)
{
// Access list of triangularFEM info per triangle
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->triangleInfo);
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->d_triangleInfo);

if (triangleFEMInf.size() != triangleList.size())
{
Expand Down Expand Up @@ -438,7 +438,7 @@ inline void BaseTearingEngine<DataTypes>::processTjunctionTriangle(const vector<
template<class DataTypes>
inline Index BaseTearingEngine<DataTypes>::computeVertexByArea_WeightedAverage(const Triangle& selectedTriangle)
{
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->triangleInfo);
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->d_triangleInfo);

const auto& triangles = m_topology->getTriangles();

Expand Down Expand Up @@ -494,7 +494,7 @@ inline Index BaseTearingEngine<DataTypes>::computeVertexByArea_WeightedAverage(c
template<class DataTypes>
inline Index BaseTearingEngine<DataTypes>::computeVertexByUnweightedAverage(const Triangle& selectedTriangle)
{
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->triangleInfo);
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->d_triangleInfo);

constexpr size_t numVertices = 3;
sofa::type::vector<Real> StressPerVertex(numVertices);
Expand Down Expand Up @@ -540,7 +540,7 @@ inline Index BaseTearingEngine<DataTypes>::computeVertexByUnweightedAverage(cons
template<class DataTypes>
inline Index BaseTearingEngine<DataTypes>::computeVertexByInverseDistance_WeightedAverage(const Triangle& selectedTriangle)
{
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->triangleInfo);
helper::ReadAccessor< Data<VecTriangleFEMInformation> > triangleFEMInf(m_triangularFEM->d_triangleInfo);

const auto& triangles = m_topology->getTriangles();

Expand Down

0 comments on commit 860645c

Please sign in to comment.