From 7da5cfd3dee0816c476b2d0a30e6f6370a5871af Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 2 Jul 2020 18:26:16 +0200 Subject: [PATCH] translate to NGSolve node type in ReadCGNSFile --- libsrc/interface/rw_cgns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/interface/rw_cgns.cpp b/libsrc/interface/rw_cgns.cpp index 7e55b550..509e96a1 100644 --- a/libsrc/interface/rw_cgns.cpp +++ b/libsrc/interface/rw_cgns.cpp @@ -235,7 +235,7 @@ namespace netgen::cg cg_field_read(fn, base, zone, sol.solution, sol.field_names[fi].c_str(), RealDouble, &imin, &size, &values[0]); sol_names.push_back(sol.field_names[fi]); sol_values.emplace_back(std::move(values)); - sol_locations.push_back(sol.location); + sol_locations.push_back(getNodeType(sol.location)); } } }