fix bc/mat names in CGNS reader

This commit is contained in:
Matthias Hochsteger 2020-09-01 17:36:08 +02:00
parent a8062a6f36
commit a8a0b9d50b

View File

@ -590,6 +590,13 @@ namespace netgen::cg
}
}
}
mesh.GetRegionNamesCD(2).SetSize(index_1d);
mesh.GetRegionNamesCD(1).SetSize(index_2d);
mesh.GetRegionNamesCD(0).SetSize(index_3d);
mesh.GetRegionNamesCD(2) = nullptr;
mesh.GetRegionNamesCD(1) = nullptr;
mesh.GetRegionNamesCD(0) = nullptr;
}
void SetNames( Mesh & mesh )