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

Option to return error for cells without overlap #29

Open
nncarlson opened this issue Nov 27, 2019 · 1 comment
Open

Option to return error for cells without overlap #29

nncarlson opened this issue Nov 27, 2019 · 1 comment

Comments

@nncarlson
Copy link

One argument to interpolate_mesh_var specifies how to handle empty cells, that is cells in the target mesh/part that don't intersect cells from the source mesh/part. In my application, such an occurrence indicates a fundamental problem with the pair of meshes or parts that I need to catch and handle (likely by aborting the simulation). Currently that doesn't appear possible.

What I'd like is for PartsPair::check_mesh to optionally return a status code for such an occurrence, or a new method to query the object about it.

An additional possibility (not well suited to my application) is to delay until interpolate_mesh_var with a new ERROR enum value for Empty_fuxup_type, that would trigger an error return.

@raovgarimella
Copy link
Collaborator

raovgarimella commented Nov 27, 2019 via email

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

2 participants