Our format is extremely compact, while theirs is very verbose. For example, here is a line for assigning a boundary condition reference to a face in the FENICS files:
<value cell_index="421" local_entity="3" value="62" />
We represent this same information by appending the string "62 " to the line in the <Faces> block corresponding to tetrahedron 421's 3rd face. There are nearly two million such boundary condition lines in the original file.
Note that not all FENICS files have such a large number of boundary conditions, as almost all faces are assigned boundary condition 0 in this file, with very few lacking an assignment at all, while other files I have seen lack boundary conditions assignments for
most faces. I think this particular file may be poorly specified (ie they should have made boundary condition 0 the default instead and the default 0, though I'm not sure that's actually possible to do in FENICS.) In any case, other FENICS files will probably
not have quite that extreme of space savings.
Robert
From: eavp-dev-bounces@xxxxxxxxxxx <eavp-dev-bounces@xxxxxxxxxxx> on behalf of Jay Jay Billings <jayjaybillings@xxxxxxxxx>
Sent: Tuesday, June 21, 2016 11:38 AM
To: eavp developer discussions
Subject: Re: [eavp-dev] Comparison between FENICS and ICE mesh formats
Okay, good. So why is our file half the size of theirs? Any guesses?
Jay
|