File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
framework/src/meshgenerators Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -358,8 +358,6 @@ MeshDiagnosticsGenerator::checkWatertightNodesets(const std::unique_ptr<MeshBase
358
358
if (mesh -> mesh_dimension () < 2 )
359
359
mooseError ("The nodeset check only works for 2D and 3D meshes" );
360
360
auto & boundary_info = mesh -> get_boundary_info ();
361
- boundary_info .build_side_list ();
362
- const auto nodeset_map = boundary_info .get_nodeset_map ();
363
361
unsigned int num_nodes_without_nodeset = 0 ;
364
362
std ::set < dof_id_type > checked_nodes_id ;
365
363
@@ -378,8 +376,8 @@ MeshDiagnosticsGenerator::checkWatertightNodesets(const std::unique_ptr<MeshBase
378
376
const auto node = node_list [j ];
379
377
if (checked_nodes_id .count (node -> id ()))
380
378
continue ;
381
- // if node is not part of nodeset map add it to list of bad nodes
382
- if (nodeset_map . count (node ) == 0 )
379
+ // if node has no nodeset, add it to list of bad nodes
380
+ if (boundary_info . n_boundary_ids (node ) == 0 )
383
381
{
384
382
// This node does not have a nodeset!!!
385
383
num_nodes_without_nodeset ++ ;
You can’t perform that action at this time.
0 commit comments