On Wed, 30 Aug 2000, Thomas Ruedas wrote: >>Try changing around the order of the deltas. >>One of the 6 combinations should work for you.
>Although I couldn't see why this should help I tried it out, and it did >not work. As I understand it, It should help, because the manuals say that changing the order of the deltas changes which coordinate DX thinks varies fastest... I also tried this with a 2-D array with no success, but this was the advice I received from everyone else on the list at the time. If you want to make it happen then it can be done. The gridpositions and deltas syntax that you are using is short for something dx refers to as a product array; look into the user guide appendix B for details. I have an output format which is a fortran array and this works for me. This is for a 2-D grid, but 3D is a simple extension. # Define a set of regular points along the x-axis object "nx" class gridpositions 401 1 1 origin 0 0 0 delta 1 0 0 # Define a set of regular points along the z-axis object "nz" class gridpositions 1 1 401 origin 0 0 0 delta 0 0 1 # Construct a product array from this set of points # This defines a regular set of points in the x-z plane object 1 class productarray term "nz" term "nx" # object 2 are the regular connections, quads, # connecting the positions (nz+1)x(nx+1). object 2 class gridconnections counts 401 401 # skip... read in the data in object 3 ... and make a field as so... object "Mass Density" class field component "positions" value 1 component "connections" value 2 component "data" value 3 Changing the order of the terms (term "nz" and term "nx") in the product array changes which dimension varies fastest... HTH, Tom
