; szss96_init_gam212.pro -- translated by f2idl ; using argument information from init_gam212.f and init_gam212_f.c ; and documentation information from init_gam212.f ;+ ; NAME: ; szss96_init_gam212 ; ; PURPOSE: ; initialize GAM212 common block ; CALLING SEQUENCE: ; szss96_init_gam212 ; ; SIDE EFFECTS: ; Sets gam212 common block ; MODIFICATION HISTORY: ; Written 2008 Nov 11 LAY ; : ; ;- PRO szss96_init_gam212 ; -------------------- This function name fcn = 'szss96_init_gam212' ; -------------------- assign parameters (including dimensions) JM = 30 LM = 4 ;------------------------- ; setup the output variables that will be passed to the fortran ; routine ;------------------------- ; check all variables if n_params() ne 0 then begin print,'szss96_init_gam212: wrong number of arguments' return endif ;------------------------- ; Find root directory for library tname findpro, fcn, dirlist=dirlist, /noprint if dirlist[0] eq '' then root = '.' else root = dirlist[0] ;------------------------- ; CALL lib_name = root + '/szss96.so' entry_name = 'idl_ce_call_init_gam212__' RESULT = CALL_EXTERNAL( lib_name, ENTRY_NAME, $ /verbose ) end