Home
Manual
Packages
Global Index
Keywords
Quick Reference
|
functions in slice3.i - g
getc3
|
getc3(i, m3, chunk)
or getc3(i, m3, clist, l, u, fsl, fsu, cells)
return cell values of the Ith function attached to 3D mesh M3
for cells in the specified CHUNK. The CHUNK may be a list of
cell indices, in which case getc3 returns a (dimsof(CHUNK))
list of vertex coordinates. CHUNK may also be a mesh-specific data
structure used in the slice3 routine, in which case getc3 may
return a (ni)x(nj)x(nk) array of vertex values. There is no
savings in the amount of data for such a CHUNK, but the gather
operation is cheaper than a general list of cell indices.
Use getc3 when writing colorng functions for slice3.
If CHUNK is a CLIST, the additional arguments L, U, FSL, and FSU
are vertex index lists which override the CLIST if the Ith attached
function is defined on mesh vertices. L and U are index lists into
the 2x2x2x(dimsof(CLIST)) vertex value array, say vva, and FSL
and FSU are corresponding interpolation coefficients; the zone
centered value is computed as a weighted average of involving these
coefficients. The CELLS argument is required by histogram to do
the averaging. See the source code for details.
By default, this conversion (if necessary) is done by averaging
the eight vertex-centered values.
interpreted function, defined at i/slice3.i line 725
|
SEE ALSO:
|
slice3,
mesh3,
getv3,
xyz3
|
getv3
|
getv3(i, m3, chunk)
return vertex values of the Ith function attached to 3D mesh M3
for cells in the specified CHUNK. The CHUNK may be a list of
cell indices, in which case getv3 returns a 2x2x2x(dimsof(CHUNK))
list of vertex coordinates. CHUNK may also be a mesh-specific data
structure used in the slice3 routine, in which case getv3 may
return a (ni)x(nj)x(nk) array of vertex values. For meshes which
are logically rectangular or consist of several rectangular
patches, this is up to 8 times less data, with a concomitant
performance advantage. Use getv3 when writing slicing functions
for slice3.
interpreted function, defined at i/slice3.i line 688
|
SEE ALSO:
|
slice3,
mesh3,
getc3,
xyz3
|
|