XMDF
2.2
|
The following function is used to define the type of grid. Gridtype is one of the following constants:
The following function is used only for extruded grids to define the type of extrusion taking place. Extrudetype must be one of the following constants:
These functions are used to set attributes for a grid. The number of dimensions must be 2 or 3. Orientation must be one of the following constants ORIENTATION_RIGHT_HAND, ORIENTATION_LEFT_HAND. The computational origin is a number between 1 and 4 for 2D grids and between 1 and 8 for 3D grids. The number corresponds to the corner of the grid that will be the origin. The figures in the table below show the corresponding values. The u direction must be 1, 2, 3, -1, -2, or -3. This corresponds to the grid direction as labeled in the table. Negative direction values indicate the origin is at the other side of the grid. (For more information on the grid computational origin, see Appendix Grid).
Grid direction 1 - location 1 to location 2 Grid direction 2 - location 1 to location 4
Grid direction 1 - location 1 to location 2 Grid direction 2 - location 1 to location 4 Grid direction 3 - location 1 to location 5
The following functions are used to retrieve information about a grid. Optional parameters have a function that can be used to determine if the parameter was set.