Category
Function
Creates a "slab" of data.
Syntax
output = Slab(input, dimension, position, thickness);
Inputs
Name | Type | Default | Description |
---|---|---|---|
input | field | none | object to be "slabbed" |
dimension | integer or string | 0 | spatial orientation of the slab |
position | integer or integer list | all | starting position(s) |
thickness | integer | 0 or 1 | thickness of slab (in number of elements) |
Outputs
Name | Type | Description |
---|---|---|
output | field or field series | slabbed data |
Functional Details
This module creates a multidimensional object consisting of a selected subset of input data.
data | specifies the data field to be slabbed. This field must have regular connections. |
dimension | specifies the dimension in which the slab should be oriented relative to the input object (the output slab will have the same orientation). The n dimensions of the object can be specified by number (from 0 to n - 1). The first three dimensions can also be specified as x, y, and z, respectively. The default for this parameter is dimension 0 (zero). Notes:
|
position | specifies the position from which the slab is generated. If the specified value is a single integer, the module creates a single field, with the slab oriented in the specified dimension and containing the number of volume elements specified by thickness (see below). If position is a list of integers, the module creates a series of specified slabs, and the default value of thickness is 1 (one). If this parameter is not specified, the output is a series of slabs (thickness = 1) that begin at every grid position along dimension. |
thickness | specifies the thickness of the slab (in volume elements). A specified value of 0 (the default when position is a single number) will produce a 2-dimensional slice in a 3-dimensional object. |
Notes:
Components
All input components are propagated to the output.
Example Visual Programs
Imide_potential.net RubberTube.net Streamline.net SIMPLE/Slab.net
See Also
[ OpenDX Home at IBM | OpenDX.org ]