Skip to content

Commit

Permalink
Merge pull request #266 from GLVis/mesh-deprecation-fix
Browse files Browse the repository at this point in the history
Replace deprecated Mesh::GetBdrElementEdgeIndex
  • Loading branch information
tzanio authored Nov 9, 2023
2 parents 56a44bb + 2cbc475 commit 84c4ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vssolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,7 @@ void VisualizationSceneSolution::PrepareBoundary()
for (i = 0; i < ne; i++)
{
if (!bdr_el_attr_to_show[mesh->GetBdrAttribute(i)-1]) { continue; }
en = mesh->GetBdrElementEdgeIndex(i);
en = mesh->GetBdrElementFaceIndex(i);
T = mesh->GetFaceElementTransformations(en, 4);
T->Loc1.Transform(ir, eir);
GetRefinedValues(T->Elem1No, eir, vals, pointmat);
Expand Down

0 comments on commit 84c4ebb

Please sign in to comment.