gp.mass.add
Syntax
- v := gp.mass.add(gp<,i>)
- gp.mass.add(gp) := v
Get/set the added mass vector for the gridpoint. This mass is added to the inertial mass of the gridpoint during equations of motion.
Component Access
f := gp.mass.add
(gp)->x
gp.mass.add
(gp)->x
:= f
- f := gp.mass.add.x(gp)
- gp.mass.add.x(gp) := f
Get/set the \(x\)-component of the added mass vector for the gridpoint.
Access other vector components (\(y\), \(z\) (3D ONLY)) 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 (gp.mass.add(gp,<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.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Nov 20, 2024 |