# block.gp.vel.app

Syntax

v := block.gp.vel.app(bgpp)
block.gp.vel.app(bgpp) := v

Get/set the gridpoint applied velocity on the boundary of a block. The function has no effect if the gridpoint indicated by bgpp is not on a block boundary: get returns 0, set does nothing.

Returns: v - velocity vector v - velocity vector bgpp - block gridpoint pointer

Component Access

f := block.gp.vel.app (bgpp)->x
block.gp.vel.app (bgpp)->x := f

f := block.gp.vel.app.x(bgpp)
block.gp.vel.app.x(bgpp) := f

Get/set the $$x$$-component of the gridpoint applied velocity on the boundary of a block.

Returns: f - $$x$$-component of the gridpoint applied velocity vector f - $$x$$-component of the gridpoint applied velocity vector bgpp - block gridpoint pointer

Access other vector components ($$y$$, $$z$$) by substituting the component name where $$x$$ 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 (block.gp.vel.app(bgpp,<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.

This is hidden. Added to include remaining vector component access functions for inline help.

f := block.gp.vel.app.y(bgpp)
f := block.gp.vel.app.z(bgpp)