UCL / dxh

Collection of helper functions for working with DOLFINx Python interface
http://github-pages.ucl.ac.uk/dxh/
MIT License
3 stars 0 forks source link

Verify mesh has triangular cells in `get_matplotlib_triangulation_from_mesh` function #16

Closed matt-graham closed 4 months ago

matt-graham commented 4 months ago

Fixes #8

Raises a more informative error if mesh has non-triangular cells and adds a test to check this exception is raised when using a mesh with quadrilateral cells.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.3%. Comparing base (44045e3) to head (2f71233).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #16 +/- ## ======================================= + Coverage 96.2% 96.3% +0.1% ======================================= Files 1 1 Lines 183 186 +3 Branches 36 37 +1 ======================================= + Hits 176 179 +3 Misses 5 5 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.