# Deprecated Commands and FISH

The following material is deprecated. Continued use of these functions or facilities is discouraged, as they are subject to removal in future versions. Newer, recommended alternatives are indicated when available.

Component Access with Integers in FISH

FISH functions that return a tensor or a vector type optionally accept one or two integers (tensor) or one integer (vector) as arguments for the purpose of returning component values.

Deprecated: with release of FLAC3D 7.0 (July, 2019).

A tensor example:

f = shell.struct.stress(p,0,4)   ; return the xy component of the tensor
f = shell.struct.stress(p,0,1,2) ; also return xy


With one integer supplied, valid integer values are 1-6, which return the values of the $$xx$$,$$yy$$,$$zz$$,$$xy$$,$$xz$$, and $$yz$$ components, respectively. With two integers supplied, valid values for both are 1-3 and indicate $$x$$,$$y$$, and $$z$$, respectively. The two are combined to determine the requested tensor component.

Compare with current component access methods shown in struct.shell.stress.

A vector example:

f = zone.pos(p,3)                 ; return the z component of the vector


Vectors accept integers in the range 1-3 for the purpose of returning the values of the $$x$$,$$y$$, and $$z$$ components, respectively.

Compare with current component access methods shows in zone.pos.