Dear all,

Sorry for the spam again.

Quick question: how do I get the n_nodes for a certain boundary set (given
bid)? I know I can do:

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

to loop through all the nodes, but would there be a way to find out how
many nodes are there in the same set?

Best,
Shawn

-- 
Yuxiang "Shawn" Wang, PhD
yw...@virginia.edu
+1 (434) 284-0836

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to