Ensure n_dimension_ attribute is set for unstructured meshes. (#3575)

This commit is contained in:
Patrick Shriwise 2025-09-19 15:00:51 -05:00 committed by GitHub
parent ecb0a3361f
commit ca63da91b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -666,9 +666,8 @@ class UnstructuredMesh : public Mesh {
public:
// Constructors
UnstructuredMesh() {};
UnstructuredMesh() { n_dimension_ = 3; };
UnstructuredMesh(pugi::xml_node node);
UnstructuredMesh(const std::string& filename);
static const std::string mesh_type;
virtual std::string get_mesh_type() const override;