mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Updating check for unstructured mesh.
This commit is contained in:
parent
231844faff
commit
3c280c1e17
1 changed files with 1 additions and 1 deletions
|
|
@ -1538,7 +1538,6 @@ UnstructuredMesh::UnstructuredMesh(pugi::xml_node node) : Mesh(node) {
|
|||
}
|
||||
|
||||
build_tree(all_tets);
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -1724,6 +1723,7 @@ UnstructuredMesh::get_ent_handle_from_bin(int bin) const {
|
|||
void read_meshes(pugi::xml_node root)
|
||||
{
|
||||
for (auto node : root.children("mesh")) {
|
||||
|
||||
std::string mesh_type;
|
||||
if (check_for_node(node, "type")) {
|
||||
mesh_type = get_node_value(node, "type", true, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue