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? Thank you, Robert Am Donnerstag, den 04.08.2011, 08:12 -0600 schrieb John Peterson: > On Thu, Aug 4, 2011 at 8:07 AM, robert <robert.bod...@unil.ch> wrote: > > I tried to add the vectors myself because > > with libmesh-version 0.7.1 I get the following errors: > > > > ThermoPaine3d.C: In function ‘int main(int, char**)’: > > ThermoPaine3d.C:238: error: ‘class libMesh::TetGenIO’ has no member > > named ‘element_attributes’ > > ThermoPaine3d.C:239: error: ‘class libMesh::TetGenIO’ has no member > > named ‘node_attributes’ > > make: *** [ThermoPaine3d.i686-pc-linux-gnu.opt.o] Fehler 1 > > robert@robert:~/Desktop/THERMO_PAINE/3D$ > > Sorry, I just assumed you were working with the SVN version of libmesh. > > My changes are only in SVN at this point so you won't be able to make > use of them. > > Unless you want to switch over to SVN, you'll have to stick with your > original code to read the tetgen attributes. > ------------------------------------------------------------------------------ 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