data.tensor.value
Syntax
- f = data.tensor.value(tp)
- data.tensor.value(tp) = f
Get/set the tensor value.
Returns: f - tensor value Accepts: f - tensor value Arguments: tp - tensor pointer
Component Access
f := data.tensor.value
(tp)->xx
data.tensor.value
(tp)->xx
:= f
- f = data.tensor.value.xx(tp)
- data.tensor.value.xx(tp) = f
Get/set the \(xx\)-component of the tensor value.
Returns: f - \(xx\)-component of the tensor value Accepts: f - \(xx\)-component of the tensor value Arguments: tp - tensor pointer
Access other tensor components (\(yy\), \(zz\), \(xy\), \(xz\), \(yz\)) by substituting the component name where \(xx\) appears above. See Member Access Operator for information about accessing members from data types using ->
.
Deprecated Component Access
Component access by adding an optional integer in the function arguments (data.tensor.value(tp,<int, <int>>)
) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |