Dear all,

When I use `MeshTools::Generation::build_square`, I obtain a mesh with:
    enum BOUNDARY_ID {
      BOUNDARY_ID_MIN_Y = 0,
      BOUNDARY_ID_MAX_X = 1,
      BOUNDARY_ID_MAX_Y = 2,
      BOUNDARY_ID_MIN_X = 3,
    };

However, I noticed that

    MeshBase::const_node_iterator nodeit =
mesh.bid_nodes_begin(BOUNDARY_ID_MAX_X);
    const MeshBase::const_node_iterator node_end =
mesh.bid_nodes_end(BOUNDARY_ID_MAX_X);

does not work for such IDs. Could you please help me in how to iterate
through all the nodes?

Best,
Shawn--
Yuxiang "Shawn" Wang, PhD
[email protected]
+1 (434) 284-0836

_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to