Skip to content

Commit

Permalink
Variable order support in FiniteElementSpace::GetTraceElement
Browse files Browse the repository at this point in the history
  • Loading branch information
pazner committed May 1, 2024
1 parent c768c5f commit 3b6c6ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fem/fespace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3286,7 +3286,8 @@ const FiniteElement *FiniteElementSpace::GetEdgeElement(int i,
const FiniteElement *FiniteElementSpace::GetTraceElement(
int i, Geometry::Type geom_type) const
{
return fec->TraceFiniteElementForGeometry(geom_type);
return fec->GetTraceFE(geom_type, GetElementOrder(i));
}
}

FiniteElementSpace::~FiniteElementSpace()
Expand Down

0 comments on commit 3b6c6ce

Please sign in to comment.