*SetPointmassBodyICFlag() - point mass body pair
Sets flags to indicate whether initial conditions are used.
Syntax
*SetPointmassBodyICFlag(pmb_name, vx_lf, vy_lf, vz_lf,
vx_rf, vy_rf, vz_rf)
Arguments
- pmb_name
- The variable name of an existing point mass body.
- vx_lf, vy_lf, vz_lf
- Set to TRUE if the initial conditions of the left point mass body should be used.
- vx_rf, vy_rf, vz_rf
- Set to TRUE if the initial conditions of the right point mass body should be used.
Example
*BeginMDL(model, "The model")
*PointPair(p_3, "Point 3 pair")
*PointPair(p_4, "Point 4 pair")
*SetPoint(p_3, LEFT, 31, 32, 33)
*SetPoint(p_4, LEFT, 34, 35, 36)
*PointmassBodyPair(pmb_2, "Point mass body 2", p_3, p_4)
*SetPointmassBody(pmb_2, LEFT, 15)
*SetPointmassBodyIC(pmb_2, 81, 82, 83, 84, 85, 86)
*SetPointmassBodyICFlag(pmb_2, TRUE, TRUE, , , TRUE, TRUE)
*EndMDL()