JADP=CSADDR('NAME')
This section describes routines and functions which can be used for calling COMIS subroutines and functions which have only arithmetic parameters.
CALL CSJCAL (JADP,NPAR,P1,P2,...)
where
I = CSIJCL(JADP,NPAR,P1,P2,...)
To speed up execution three special functions are available for the case of routines with one, two and three arguments:
R = CSR1FN(JADP,P1)
R = CSR2FN(JADP,P1,P2)
R = CSR3FN(JADP,P1,P2,P3)
This section describes routines and functions which can be used for calling COMIS subroutines and functions which can have any type of parameters.
Cx = CSCJFN(J,STR1,P1,P2,...)
The parameters STR and STR1
in these routines have the forms
Examples:
STR = 'NAME(I,R,D,C,E,*12)'
where I stands for INTEGER or LOGICAL
R for REAL
D for DOUBLE PRECISION
C for COMPLEX
E for EXTERNAL
*12 for CHARACTER *n
If a double precision COMIS function is declared with:
FUNCTION CSDPF(R,D,C,I)
DOUBLE CSDPF,D
REAL R INTEGER I
CHARACTER *(*)C
.....
END
then the call from the user's routine may look like:
CHARACTER *12 TEXT
DOUBLE PRECISION D,DP,CSDFUN
.....
D = CSDFUN('CSDPF(R,D,*12,I)', R, DP,TEXT,10)