Skip to content
Snippets Groups Projects

Fix and test MaterialID in msh2vtu

Merged Feliks Kiszkurno requested to merge felikskiszkurno/ogstools:material_id_fix into main

This introduces more tests to systematically check, if MaterialIDs are properly generated from gmsh physical group tags. Also Fixes a failing case, where a single physical group with a tag != 0 would not reindex to 0 if reindex=True. Also changes the logic from reindex: previously would use a offset to reach 0, i.e. [1,2,4] -> [0,1,3] now it reindexes completely, i.e. [1,2,4] -> [0,1,2]

Edited by Florian Zill

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Florian Zill resolved all threads

    resolved all threads

  • Florian Zill added 1 commit

    added 1 commit

    Compare with previous version

  • Florian Zill added 1 commit

    added 1 commit

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading