*SetPointmassBodyICFlag() - single point mass body

Sets flags to indicate whether initial conditions are used.

Syntax

*SetPointmassBodyICFlag(pmb_name, vx_f, vy_f, vz_f)

Arguments

pmb_name
The variable name of an existing point mass body.
Data type: varname
vx_f, vy_f, vz_f
Set to TRUE if an initial condition of a specific direction is to be used.  
Data type: boolean

Example

*BeginMDL(model, "The model")
*Point(p_1, "Point 1")
*Point(p_2, "Point 2")
*SetPoint(p_1, 21, 22, 23)
*SetPoint(p_2, 24, 25, 26)
*PointmassBody(pmb_1, "Point mass body 1", p_1, p_2)
*SetPointmassBody(pmb_1, 10)
*SetPointmassBodyIC(pmb_1, 71, 72, 73)
*SetPointmassBodyICFlag(pmb_1, TRUE, , TRUE)
*EndMDL()

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()