Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BarycentricTriangleFaces from CutData struct #3

Open
mtao opened this issue Mar 29, 2020 · 0 comments
Open

BarycentricTriangleFaces from CutData struct #3

mtao opened this issue Mar 29, 2020 · 0 comments

Comments

@mtao
Copy link
Owner

mtao commented Mar 29, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant