Skip to content

Commit

Permalink
Merge pull request #3670 from roystgnr/add_names
Browse files Browse the repository at this point in the history
Merge in subdomain names along with ids
  • Loading branch information
roystgnr authored Oct 24, 2023
2 parents 93c06c1 + fb71db3 commit fd02a6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mesh/unstructured_mesh.C
Original file line number Diff line number Diff line change
Expand Up @@ -2296,6 +2296,10 @@ UnstructuredMesh::stitching_helper (const MeshBase * other_mesh,
id_remapping[sid] = next_free_id++;
this->subdomain_name(next_free_id) = sname;
}
// If we don't have this subdomain id, well, we're
// about to, so we should have its name too.
else
this->subdomain_name(sid) = sname;
}
}
}
Expand Down

0 comments on commit fd02a6e

Please sign in to comment.