data.tensor.pos
Syntax
Vector Access
- v = data.tensor.pos(tp<,i>)
- data.tensor.pos(tp<,i>) = v
Get/set the tensor position.
Returns: v - tensor position vector or component
Accepts: v - tensor position vector or component
Arguments: tp - user tensor pointer
i - optional vector component
Component Access
- f = data.tensor.pos.x(tp)
- data.tensor.pos.x(tp) = f
Get/set the \(x\)-component of the tensor position.
Returns: f - \(x\)-component of the tensor position vector Accepts: f - \(x\)-component of the tensor position vector Arguments: tp - user tensor pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |