On Tue, 6 Dec 2005, KIRK, BENJAMIN (JSC-EG) (NASA) wrote:
> The only thing I would like to do is to rework the new XDA/XDR format to
> eliminate the element blocks. Since there is no "official" release with the
> new support in it, and I do want to change it, I am hesitant to release it
> until that change is made.
> I discussed this on the list a while back, but the current connectivity is
> something like this:
> (in a block of constant element type
> n0 ... nN elemID parentID
> and what I want to do is something like this:
> (for all elements)
> elemType parentID n0 ... nN
Okay, I certainly agree that we should have as few "official" file
formats running around as possible.
Perhaps we ought to release a 0.5.0.1, though, made by just fixing the
file (parameters.h IIRC) that won't compile with gcc 4.0.2?
> and write the elements out in the order they appear in the code.
> Specifically, in the second approach elemID is inferred from its position in
> the list.
Would it be possible to also infer elemType for elements with a
parentID? Pyramid parents are the only tricky case I can think of,
and for them it should be possible to infer elemType from the number