You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The methode strace can't proces spaces that don't include all simplex cells.
The problems is with the p index from the enumerate which loops over the simplices used in the interpolation space X, variable E. But this also identifies in which cell we look in the geometry of the space, variable D. If some simplices are not used in X but still present in geometry(X) then p indicates different cells and the strace of the space will give wrong values.
An example of code that fails is:
using BEAST
Ω =meshrectangle(1.0, 1.0, 0.3, 2)
Γ =boundary(Ω)
X =lagrangec0d1(Ω, skeleton(Γ,0)) # contains only triangle simplices which have an edge at the boundary.strace(X, Γ )
Activity
[-]strace can't proces incomplete Spaces[/-][+]strace can't proces incomplete Spaces in 2D[/+]bboeyken commentedon Apr 10, 2026
A solution is to use as in the
stracefor 3D to use