A flop or two are being wasted on computing BarycentricTriangleFaces from the input data directly in CutCellGenerator<3>::bake_faces() rather than by projecting the vertex to the triangle to compute the barycentric coordinates. This means looping over the CutMeshFaces directly in the CutData structure and reconstructing their indices / matching them up with the indices in the final CutCellMesh<3> object.
A flop or two are being wasted on computing
BarycentricTriangleFaces from the input data directly inCutCellGenerator<3>::bake_faces()rather than by projecting the vertex to the triangle to compute the barycentric coordinates. This means looping over theCutMeshFaces directly in theCutDatastructure and reconstructing their indices / matching them up with the indices in the finalCutCellMesh<3>object.