*SetBodyICFlag() - body pair
Sets flags to indicate whether the initial conditions are used.
Syntax
*SetBodyICFlag(body_pair, vx_lf, vy_lf, vz_l,
wx_l, wy_l, wz_l,
vx_rf, vy_rf, vz_r,
wx_r, wy_r, wz_r)
Arguments
- body_pair
- The variable name of an existing body pair.
- vx_lf, vy_lf, vz_l, wx_l, wy_l, wz_l
- TRUE = use the initial condition component for the left body.
- vx_rf, vy_rf, vz_r, wx_r, wy_r, wz_r
- TRUE = use the initial condition component for the right body. FALSE = do not use the initial condition component for the right body.
Example
*BodyPair(bd_p, "body_pair", p_cm)
*SetBodyICFlag(bd_p, TRUE, TRUE, TRUE, FALSE, FALSE, FALSE, FALSE,
TRUE, , TRUE, FALSE, TRUE)
Context
Comments
The arguments can be TRUE, FALSE, or empty. If an empty argument is given, the previous value of the flag is retained.