gp.pos
Syntax
Vector Access
- v := gp.pos(gp<,i>)
- gp.pos(gp<,i>) := v
Get/set the position of the gridpoint. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.
Note that changing position vectors during cycling will not update geometry-derived values calculated during an update. See the intrinsic
zone.do.update
.Returns: v - position vector or component
Accepts: v - position vector or component
Arguments: z - zone pointer
Component Access
- f := gp.pos.x(gp)
- gp.pos.x(gp) := f
Get/set the \(x\)-component position vector.
Returns: f - \(x\)-component position vector Accepts: f - \(x\)-component position vector Arguments: z - zone pointer
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Dec 22, 2020 |