Replies: 7 comments 5 replies
-
I can't think of a reason not to use x/y/z, as I agree it is more standard. The only minor point is that we often partition in X-Y given our flat geometries, but I don't think the global order should have a real impact on solver performance. |
Beta Was this translation helpful? Give feedback.
-
I am fine with it. Hopefully it's just a matter of flipping a few loops and it does not require much more effort. |
Beta Was this translation helpful? Give feedback.
-
I also vote for using the x/y/z order. |
Beta Was this translation helpful? Give feedback.
-
XYZ is fine with me. |
Beta Was this translation helpful? Give feedback.
-
XYZ ordering is fine with me |
Beta Was this translation helpful? Give feedback.
-
The change is gonna require a rebaseline (I think) and I am guessing we will get numerical diffs in all serial runs and, at least, global Indices diffs in the parallel ones. It won't be very easy to make sure that all results have not changed (although intuitively they shouldn't have). There may be a few postprocessing scripts that rely on the cell index to produce some of the plots of the examples. The first one I could think of is Mandel but that one seems to rely on the coordinates so it should be fine. |
Beta Was this translation helpful? Give feedback.
-
Was x/y/z order implemented at the end? |
Beta Was this translation helpful? Give feedback.
-
The numbering (both local and global) of cells and nodes in
InternalMeshGenerator
follows z/y/x order, i.e. contiguous indices are assigned along z dimension of the grid. This has the following problems:TableFunction
voxel files, which are ordered x/y/zTimeHistory
output.The latter point can be somewhat helped by documentation. Currently it doesn't define the ordering explicitly, although the staircase example does show that blocks are numbered that way. It can be argued that users should not rely on cell/node numbering and use other data (such as reference position or element center) for interpretation. In practice that is not what tends to happen though - this discussion is coming from an interaction with someone trying to use GEOSX, and they've stumbled over both of the issues above.
Is there a particular benefit to this cell/node ordering, and is there any opposition to changing it to the more conventional (at least in my experience) x/y/z order?
@rrsettgast @joshua-white @castelletto1 @CusiniM @francoishamon
Beta Was this translation helpful? Give feedback.
All reactions