gp.vel
Syntax
Vector Access
- v = gp.vel(gp<,i>)
- gp.vel(gp<,i>) = v
Get/set the velocity vector for the gridpoint. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.
Returns: v - velocity vector or component
Accepts: v - velocity vector or component
Arguments: gp - gridpoint pointer
Component Access
- f = gp.vel.x(gp)
- gp.vel.x(gp) = f
Get/set the x-component velocity vector.
Returns: f - x-component velocity vector Accepts: f - x-component velocity vector Arguments: gp - gridpoint pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |