callback create
Allows you to create multiple callback routines within a single model. This allows the design of HPC solutions in the user space. It provides a clear framework for users who implement complex user subroutines to design memory management and parallel simulations running along Adams simulation.
Format:
Callback create |
|---|
callback_name = | New callback name |
Adams_id = | Integer |
Routine = | String |
Priority = | Integer |
Example:
Callback create |
|---|
callback_name = | callback_1 & |
routine = | callback05::myCbksub & |
priority = | 1 |
Description:
Parameter | Value Type | Description |
|---|
Callback_name | New callback | Specifies the name of the callback to be created. |
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.