Skip to content
Discussion options

You must be logged in to vote

Hi Michael, apologies for the late reply!
Your issue is the effect of the ndivisions argument of the trim method, which at its default value of 8 causes the edge intersections to be rounded to a uniform partition of 2^8=256 intervals. The reason for this rounding operation is twofold: 1. it helps to match edge intersections in neighbouring elements, and 2. it is a measure to discard nearly vanishing elements as they round down to zero. In general the rounding error is negligible against that of the linear interpolation of the levelset function, but this does not apply in your case where the interpolation is exact. What should help though is to increase ndivisions, for example to 32, which…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MichaelLoibl
Comment options

Answer selected by MichaelLoibl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants