mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Ensure n_dimension_ attribute is set for unstructured meshes. (#3575)
This commit is contained in:
parent
ecb0a3361f
commit
ca63da91b9
2 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue