Ngsxfem and integration on a space-curve

I’m curious if it is possible to integrate along a 3-D space curve that is defined as the intersection of two level-set functions. I assume this is not possible in the ngsxfem package.

I suppose if one could create a polygonal curve that followed the intersection, then one could interpolate the function on that curve, and then do a standard quadrature. Is there any other option?

Sure, that’s what we have the multi level set feature for, see here: 8.6 Integration over domains described by multiple level sets — NGS-Py 6.2.2304-220-gbb56e78c5 documentation

Best,
Christoph

Excellent! I’ll check that out.