callback modify

Allows you to modify an existing callback routine.

Format:

 
Callback modify
callback_name =
Existing callback name
Adams_id =
Integer
Routine =
String
Priority =
Integer

Example:

 
callback modify &
callback_name =
callback_1 &
routine =
“callback05::myCbksub” &
priority =
1

Description:

 
Parameter
Value Type
Description
Callback_name
Existing callback
Specifies the name of the callback to be modified.
Adams_id
Integer
Assigns an unique id to the callback entity.
Routine
String
Specifies an alternative library and user subroutine name.
Priority
Integer
Used by the Solver to order existing CBKSUBS and call subroutines according to their priority. Solver will sort from higher to lower priority.

Extended Definition:

User-written subroutines are used primarily for modeling specialized phenomena or calculating nonstandard results. Many simulations require the modeling of special phenomena that are not a part of the standard Adams software. These phenomena may be expressed mathematically as differential equations, algebraic equations, applied forces, constraints, motion inputs to system, or a combination of these general modeling entities.
Adams Solver can accept user-specified descriptions of phenomena. You define the governing relationships for the phenomena in the user-written subroutines. Adams then evaluates these relationships as part of the solution process.
For more information about user-written subroutines and details about each of the user-written subroutines, see User-Written Subroutines.