GRASUB
ModelingCalculates 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"
/>
Format
- Fortran Calling Syntax
-
SUBROUTINE GRASUB (ID, TIME, PAR, NPAR, IFLAG)
- C/C++ Calling Syntax
-
void STDCALL GRASUB (int *id, double *time, double *par, int *npar, int *iflag)
- Python Calling Syntax
-
def GRASUB(id, time, par, npar, iflag)
- MATLAB Calling Syntax
-
function GRASUB(id, time, par, npar, iflag)
Attributes
- ID
- [integer]
- TIME
- [double precision]
- PAR
- [double precision]
- NPAR
- [integer]
- IFLAG
- [logical]
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
- GRASUB can only be defined for Post_Graphic with type="UserGra".