TDycores-Project / TDycore

BSD 2-Clause "Simplified" License
4 stars 0 forks source link

Added a unit test for generating a boxmesh and marking boundary faces. #174

Closed jeff-cohere closed 3 years ago

jeff-cohere commented 3 years ago

This PR piggybacks on #146, adding a set of unit tests:

  1. Generate a box mesh
  2. Read a box mesh
  3. Mark boundary faces in the box mesh and write it out
  4. Read the labeled box mesh and make sure the boundary faces match a newly created set

I used the HDF5 viewer to read and write the meshes. The Exodus one doesn't seem to be working properly just yet (I get a segfault when trying to write out the original mesh using the Exodus viewer).

Closes #157

codecov-commenter commented 3 years ago

Codecov Report

Merging #174 (a62810e) into master (9be9df5) will not change coverage. The diff coverage is n/a.

:exclamation: Current head a62810e differs from pull request most recent head 8b21f0f. Consider uploading reports for the commit 8b21f0f to get more accurate results Impacted file tree graph

@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   67.73%   67.73%           
=======================================
  Files           7        7           
  Lines        1221     1221           
=======================================
  Hits          827      827           
  Misses        394      394           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8b8cbf0...8b21f0f. Read the comment docs.