On Tue, Apr 30, 2013 at 10:02 AM, Robert Blake <[email protected]> wrote: > Hi again, > > I'm trying to use libmesh to replace some legacy custom FEM software. I > need an output file where every line of text contains the value of a > solution variable at the corresponding node in a VTK input mesh. For > example, the value of the solution at node 5 in the VTK file should be > at line 5 in the output file. > > This seems trivial, but I can't figure out how to do this in parallel. > MeshData doesn't work in parallel, and partitioning can introduce > arbitrary reorderings of the Node ids. I can't figure out how to invert > the partitioning so I can get the correct ordering for output. > > I looked a bit into the Xdr class, and it uses a space-filling curve to > construct a canonical ordering. This isn't what I want-- I need the > output node ordering to match my input mesh exactly so I can > post-process the results with downstream software.
Have you tried running with SerialMesh and telling it to not renumber nodes and elements while reading? It sounds like you eventually want to use ParallelMesh, but maybe getting it to work with SerialMesh will give you some ideas about how to handle the parallel case. If the nodes themselves don't move, perhaps you can use their positions to determine the node renumbering map. -- John ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
