On Thu, Aug 4, 2011 at 10:42 AM, robert <robert.bod...@unil.ch> wrote: > I just have to disturb you with an other question. After reading the > mesh with the TetGenIO object I have invalid boundary id's. So, I tried > to loop through the elements and their sides and do something like: > > mesh.boundary_info->boundary_id (elem,s) = (short int) 0; > > Since the above function is defined as > 'short int boundary_id (const Elem *const elem, const unsigned short int > side) const' > with the element constant, it did not work. How can I set the > boundary_id?
mesh.boundary_info->add_side (elem,s, 0); -- John ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users