mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Updating the mesh dimension check in LibMesh::initialize.
This commit is contained in:
parent
b982704d4f
commit
a4add365dd
1 changed files with 1 additions and 1 deletions
|
|
@ -2132,7 +2132,7 @@ void LibMesh::initialize()
|
|||
m_->prepare_for_use();
|
||||
|
||||
// ensure that the loaded mesh is 3 dimensional
|
||||
if(m_->spatial_dimension() != n_dimension_) {
|
||||
if(m_->mesh_dimension() != n_dimension_) {
|
||||
fatal_error(fmt::format("Mesh file {} specified for use in an unstructured mesh is not a 3D mesh.", filename_));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue