-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop null prisms when converting a prism layer to pyvista (#393)
Add an optional `drop_null_prisms` flag to the prism layer `to_pyvista()` method that ditches the prisms that have zero volume or `nan` values in their top or bottom boundaries. These null prisms won't be included in the PyVista Unstructured grid. By default the flag is set to `True`. Add a new test for this new feature.
- Loading branch information
1 parent
afddc94
commit f6d6a1e
Showing
2 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters