gp.force.app

Syntax

Vector Access

v := gp.force.app(gp<,i>)

Get the total applied force at a gridpoint. This includes all sources, including forces due to gravity. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - total applied force vector or component

Arguments:

z - zone pointer

i - optional vector component, from 1 to 3

Component Access

f := gp.force.app.x(gp)

Get the \(x\)-component total applied force vector.

Returns:f - \(x\)-component total applied force vector
Arguments:z - zone pointer
f := gp.force.app.y(gp)

Get the \(y\)-component total applied force vector.

Returns:f - \(y\)-component total applied force vector
Arguments:z - zone pointer
f := gp.force.app.z(gp)

Get the \(z\)-component total applied force vector.

Returns:f - \(z\)-component total applied force vector
Arguments:z - zone pointer