Updating check for unstructured mesh.

This commit is contained in:
Patrick Shriwise 2019-05-03 13:14:15 -05:00
parent 231844faff
commit 3c280c1e17

View file

@ -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);