Skip to content

Conversation

@jcapriot
Copy link
Member

Fixes #409.

Previously it would skip doing anything at all if zeros_outside was True, (even if the value was inside the mesh) on the interpolation matrix for the cell_centered, face_ and edge_ interpolation matrices. This fixes the logic by computing interpolation for zeros_outside=False (as before) and also continuing if the zeros_outside is True, but the location was inside.

Still need to add some tests here really quick

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

Successfully merging this pull request may close these issues.

BUG: Incorrect logic for zero_outside=True interpolation on TreeMesh for cell_centered, edge, and face interpolation matrices.

1 participant