Subroutine Type |
Modeling |
|||
Definition |
Calculates node positions for a user-defined graphics element. |
|||
Use |
<Post_Graphic id = "90003" type = "UserGra" ref_marker_id = "90000003" usrsub_param_string = "USER(599)" usrsub_dll_name = "NULL" usrsub_fnc_name = "GRASUB" /> |
|||
Calling Syntax |
Fortran SUBROUTINE GRASUB (ID, TIME, PAR, NPAR, IFLAG)
C void STDCALL GRASUB (int *id, double *time, double *par, int *npar, int *iflag)
Python def GRASUB(id, time, par, npar, iflag)
MATLAB function GRASUB(id, time, par, npar, iflag) |
|||
Input Arguments |
[integer] ID |
The graphic element identifier. |
||
[double precision] TIME |
The current simulation time. |
|||
[double precision] PAR |
An array that contains the constant arguments from the list provided in the user defined statement. |
|||
[integer] NPAR |
The number of entries in the PAR array. |
|||
[logical] IFLAG |
A Boolean variable that MotionSolve sets to true when it needs to know which functions CFFSUB depends on. When the flag is set to false, the values of the user-defined expressions are computed. |
|||
Output Values |
None. |
|||
Example |
def GRASUB(id, time, par, npar, iflag): errflg = py_add_gra_node(1) errflg = py_add_gra_node(2) errflg = py_add_gra_node(3) errflg = py_add_gra_tria(1, 2, 3) return |
|||
Comments |
|
|||
See Also:Modeling Subroutines |