On Wed, Jun 29, 2016 at 12:12 PM, Junchao Zhang <junchao.zh...@gmail.com> wrote:
> > On Wed, Jun 29, 2016 at 11:04 AM, Paul T. Bauman <ptbau...@gmail.com> > wrote: >> >> >> Break anywhere you have access to the mesh. Then (assuming gdb syntax): >> >> p *(mesh->elem(elem_id)) >> >> I guess elem_id is for all elements. However, in ParaView, I can only > get sequential IDs for active elements. > elem_id is supposed to correspond to the element id you want to grab. If this is an adapted mesh, then I'd be wary of renumbering that ParaView might do (I don't know if it does or not). Another thing you might do is figure out a point that is inside the element, then just use a point locator to get a pointer to the element. ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users