Skip to content

Output submesh specified by material ids

Tom Fischer requested to merge TomFischer/ogs:MaterialIDBasedOutput into master

Elements of the corresponding material IDs of the mesh will be extracted to a separate sub-mesh. The bulk-mesh properties are transferred to the sub-mesh. The file name of the sub-mesh in the example below will be `bulkmesh_0_2_4

<output>
    ...
    <meshes>
        <mesh>bulkmesh</mesh> <!-- output entire bulk mesh -->
        <mesh material_ids="0,2,4">bulkmesh</mesh>  <!-- output only those parts with specified mat IDs -->
    </meshes>
</output>
  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited by Tom Fischer

Merge request reports