; szss96_init_ch4v3.pro -- translated by f2idl ; using argument information from init_ch4v3.f and init_ch4v3_f.c ; and documentation information from init_ch4v3.f ;+ ; NAME: ; szss96_init_ch4v3 ; ; PURPOSE: ; initialize ch4v3 common block ; CALLING SEQUENCE: ; szss96_init_ch4v3 ; ; SIDE EFFECTS: ; Sets ch4v3 common block ; MODIFICATION HISTORY: ; Written 2007 Oct 16 LAY ; : ; ;- PRO szss96_init_ch4v3 ; -------------------- This function name fcn = 'szss96_init_ch4v3' ; -------------------- 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_ch4v3: 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_ch4v3__' RESULT = CALL_EXTERNAL( lib_name, ENTRY_NAME, $ /verbose ) end