On Mon, Feb 5, 2018 at 1:26 PM, Xiao Ma <xiao...@illinois.edu> wrote:
> Hi All, > > > I am wondering if the build in function MeshTools::Generation contains > information about the node set, It contains sidesets, but no nodesets. > for example , 2D mesh, the top and bottom , > left and right edge node set ? and associated the element set ? > If so , how to get access to these arrays . > This information is stored in the BoundaryInfo object. mesh.get_boundary_info().build_side_list(...) fills three passed-in vectors with elem-id, side-id, and bc-id information. -- John ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users