Re: [Libmesh-users] Create a 1-D mesh from 2-D mesh.

2008-11-19 Thread Vijay S. Mahadevan
Thanks Ben. I could use that code but it might need a small variation. I only need one specific side or edge of the 2-D domain and the code gives me the whole of the boundary mesh. While this is useful for other purposes, this is very confusing when I try to read it back in as a 1-Dimensional mesh.

Re: [Libmesh-users] Create a 1-D mesh from 2-D mesh.

2008-11-19 Thread Benjamin Kirk
Take a look at 'src/apps/mesh_tool.cc' - The '-b' command-line option should do exactly what you want. You can either try using meshtool or extract the relevant code for yourself. -Ben On 11/19/08 9:17 AM, "Vijay S. Mahadevan" <[EMAIL PROTECTED]> wrote: > Hi guys, > > I need to extract a 1-