Skip to content

Make missing material IDs a fatal error for multi-material simulations

Christoph Lehmann requested to merge chleh/ogs:check-for-missing-mat-ids into master

At the moment, OGS only prints a warning if material IDs are missing in the bulk mesh for multi-material simulation, e.g. warning: There are 8 porous medium definitions in the project file but only -1 different values in the MaterialIDs vector/data_array in the mesh. This warning can easily be overlooked. This MR adds an additional further check and leads to a fatal error in this case.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behaviour change was documented?

Merge request reports