# gp.mass.add

Syntax

## Vector Access

Get/set the added mass vector for the gridpoint. This mass is added to the inertial mass of the gridpoint during equations of motion. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns: v - added mass vector or component v - added mass vector or component z - zone pointer i - optional vector component, from 1 to 3

## Component Access

Get/set the $$x$$-component added mass vector.

Returns: f - $$x$$-component added mass vector f - $$x$$-component added mass vector z - zone pointer
Get/set the $$y$$-component added mass vector.
Returns: f - $$y$$-component added mass vector f - $$y$$-component added mass vector z - zone pointer
Get/set the $$z$$-component added mass vector.
Returns: f - $$z$$-component added mass vector f - $$z$$-component added mass vector z - zone pointer