From: Shaoying Lu <sylu@bi...>  20040803 23:18:11

Hi John, Thanks for the reply. It is really helpful. Now I have an additional question. I have been using netgen to generate my mesh, since tetgen does not some function I needed. After that I was able to convert my mesh to the tetgen format, with three files mesh.node, mesh.face, mesh.ele. Libmesh has support for tetgen. In my tests, it can read the mesh and solve the equations. However I found in the TetGenIO::read() function the surface file mesh.face is ignored. Therefore there is no way to input the boundary surface tag together with the mesh. I am wondering if there will be some solution to the problem soon, or I need to find a way to work around this. Any suggestion or comments will be appreciated. Thanks! kathy On Tue, 3 Aug 2004, John Peterson wrote: > Hi, > > Assuming you have a Mesh called "mesh": > > BoundaryMesh boundary_mesh (mesh.mesh_dimension()1); > mesh.boundary_info.sync(boundary_mesh, false); > > > Good luck, > John > > > Shaoying Lu writes: > > Hello, > > > > I have been using libmesh for some reactiondiffusion simulation for a > > while. I found that libmesh is well written and easy to use. Now > > I have a quesion about the BoundaryInfo class. > > > > In my project, I am trying to initialize a mesh with the boundary faces > > being tagged by an integer number, to implement different boundary > > conditions later. I found this can be realized by using the BoundaryInfo > > class. However, there is not much documentation. I'd appreciate > > if anyone could point me to an example or give me a chunk of code which > > shows how the BoundaryInfo class is initialized. > > > > Thank you very much! > > > > Kathy > 