Updating the mesh dimension check in LibMesh::initialize.

This commit is contained in:
Patrick Shriwise 2020-12-09 13:50:23 -06:00
parent b982704d4f
commit a4add365dd

View file

@ -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_));
}