Input
|
CustomLoadName
|
Name of the custom load
|
ForceName
|
Name of the force motor or external force the custom load is used in.
|
|
CurrentTime
|
The current time of the analysis.
|
|
Value
|
The value of the custom load returned by the custom load application.
|
|
0 if successful. Any non zero value means that there is an error in the custom load and the analysis will not proceed.
|
Input
|
MeaName
|
Name of the measure to be evaluated. The measure must exist in the model and must be a position or velocity measure.
|
Output:
|
MeasureValue
|
The value of the measure at the current time.
|
Return:
|
0 if successful. 1 if the measure does not exist or if the measure is not a position or velocity measure.
|
Input
|
CustomLoadName
|
Name of the custom load.
|
ForceName
|
Name of the force motor or external force the custom load is used in.
|
|
Return:
|
0 if successful. Any non zero value means that there is an error in the custom load and the load will not be defined.
|
Input:
|
CustomLoadName
|
Name of the custom load.
|
ForceName
|
Name of the force motor or external force the custom load is used in.
|
|
Return:
|
0 if successful. Any non zero value means that there is an error in the custom load and the load will not be defined.
|
Input:
|
CustomLoadName
|
Name of the custom load.
|
ForceName
|
Name of the force motor or external force the custom load is used in
|
|
Output:
|
Size
|
The size of the state variable vector.
|
Return:
|
0 if successful. Any non zero value means that state variables are not used for this custom load.
|
Input:
|
CustomLoadName
|
Name of the custom load.
|
ForceName
|
Name of the force motor or external force the custom load is used in
|
|
Output:
|
StateVar
|
The vector of initial state variable values. The memory is allocated by Mechanism Design.
|
Return:
|
0 if successful. Any non zero value means that there is an error in the custom load and the analysis will not proceed.
|
Input:
|
CustomLoadName
|
Name of the custom load.
|
ForceName
|
Name of the force motor or external force the custom load is used in
|
|
CurrentTime
|
The current time of the analysis.
|
|
Output:
|
StateVar
|
The vector of state variable values at this time. The memory is allocated by Mechanism Design.
|
Return:
|
0 if successful. Any non zero value means that there is an error in the custom load and the analysis will not proceed.
|
Input:
|
CustomLoadName
|
Name of the custom load.
|
ForceName
|
Name of the force motor or external force the custom load is used in
|
|
NumElem
|
The number of values in the state variable array.
|
|
Output:
|
StateVarArray
|
The vector of state variable values at this time. The memory is allocated by Mechanism Design.
|
Return:
|
0 if successful.
|