produce a slice of a structured field perpendicular to a coordinate axis
group DVorthoslice_struct {
Mesh_Struct+Node_Data+Iparam &in {
nnodes+req;
};
int+Iparam axis;
int+Iparam plane;
Mesh_Struct+Node_Data+Oparam out;
method+notify_val+notify_inst upd_orthoslice = "orthoslice";
};
DVorthoslice_struct subsets a structured field (mesh type Mesh_Struct) by removing one slice plane. The slice plane can only be orthogonal to the X, Y, or Z axis.
The input is a reference to a field containing a Mesh_Struct and Node_Data. Mesh_Unif and Mesh_Rect will be accepted, but may produce incorrect results. The input can be 1D, 2D, or 3D.
An integer. Selects which axis (X = 0, Y = 1, Z = 2) the orthoslice will be perpendicular to.
An integer. Selects which plane to extract from the input. The "units" are the array indices of the coordinates. So, for example, if you have a field that has 64 [0-63] nodes extending from -0.5 to 3.12 in X, you are picking a number from 0 to 63, not an absolute location from -0.5 to 3.12.
The output is a new field object with a new structured mesh (mesh type Mesh_Struct) for the slice that contains a new Node_Data that is all components of the slice.