From: Yuxiang W. <yw...@vi...> - 2018-12-04 23:39:42
|
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 yw...@vi... +1 (434) 284-0836 |