Hi all

Do the elements have id's from 0 to the number of elements? And when we
refine the mesh, the new elements will take subsequent id numbers?
Basically what I want to do is to have an array of numbers of size equal to
the number of elements and assign each number to each element. If I refined
the mesh, I would resize this array to accommodate the new elements. Is
there a more efficient way to do this in libmesh rather than just creating
a vector and accessing it with an index equal to the element's id? Thanks
in advance.

Miguel

-- 
*Miguel Angel Salazar de Troya*
Graduate Research Assistant
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
(217) 550-2360
[email protected]
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to