From 43d05fb178116d1a13de01d3378165098f9d7002 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 26 Nov 2019 07:34:32 -0600 Subject: [PATCH] Adding ifdefs for mesh object IO. --- src/mesh.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesh.cpp b/src/mesh.cpp index a95ecc6a7d..3d0271cc1e 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -2024,9 +2024,11 @@ void read_meshes(pugi::xml_node root) model::meshes.push_back(std::make_unique(node)); } else if (mesh_type == "rectilinear") { model::meshes.push_back(std::make_unique(node)); +#ifdef DAGMC } else if (mesh_type == "unstructured") { model::meshes.push_back(std::make_unique(node)); +#endif } else { fatal_error("Invalid mesh type: " + mesh_type); }