On Nov 6, 2013, at 4:18 PM, Derek Gaston <firstname.lastname@example.org>
wrote:> After writing an XDA file and reading it back in - I want _exactly_ the same Mesh structure that I had to start with.... same numbering, same everything…
> Let me be a bit more clear:
That should be possible… The parallel format is loosely thought out and open to extension. From a serial file the global ids are inferred, for the parallel case I don't see a reason we couldn't include a unique global id too.
The idea here is we can optionally support a partition file, which defines element ownership. This could allow the elements to be shipped off first in the case of a serial read, or read only on the processors that need them. The important subset of nodes can then be determined.
> It should go:
> Meta Data
Reading the nodes first would require caching all of them until you know which ones you can discard. Or closing the buffer and doing some seek business.