agile is hosted by Hepforge, IPPP Durham

JimmyWrapper.hh

Go to the documentation of this file.
00001 #ifndef AGILE_JIMMY_WRAPPER_HH
00002 #define AGILE_JIMMY_WRAPPER_HH
00003 
00004 #include <ctype.h>
00005 #include "AGILe/FortranWrappers.hh"
00006 
00007 
00008 extern "C" {
00009 
00010   // Jimmy
00011   #define FC_JMINIT FC_FUNC(jminit, JMINIT)
00012   void FC_JMINIT(void);
00013   #define FC_JIMMIN FC_FUNC(jimmin, JIMMIN)
00014   void FC_JIMMIN(void);
00015   #define FC_HWMSCT FC_FUNC(hwmsct, HWMSCT)
00016   void FC_HWMSCT(int*);
00017   #define FC_JMEFIN FC_FUNC(jmefin, JMEFIN)
00018   void FC_JMEFIN(void);
00019 
00020   //      COMMON / JMPARM /  PTJIM, YGAMMA, JMZMIN, JMRAD(264)
00021   //     &     ,PHAD, JMU2, JMV2, JMARRY( 6+MAXMS,0:NPSIMP )
00022   //     &     ,NLOST, TOTSCAT, ANOMOFF, JCMVAR, JMUEO
00023   //     &     ,JMPTYP(NPROC), JMBUG, FN_TYPE, MSFLAG, MAXMSTRY
00024   const int npsimp = 16;
00025   const int maxms = 100;
00026   const int nproc = 117;
00027   #define FC_JMPARM FC_FUNC(jmparm, JMPARM)
00028   extern struct {
00029     double PTJIM,YGAMMA,JMZMIN,JMRAD[264],PHAD,JMU2,JMV2,JMARRY[npsimp+1][6+maxms];
00030     double NLOST, TOTSCAT; 
00031     int ANOMOFF, JCMVAR, JMUEO, JMPTYP[nproc], JMBUG, FN_TYPE;
00032     int MSFLAG, MAXMSTRY;
00033     // ANOMOFF is F77 logical.
00034   } FC_JMPARM;
00035 
00036 
00037 }
00038 
00039 #endif
Generated on Tue Mar 6 10:39:38 2012 for AGILe - A Generator Interface Library (+ executable) by  doxygen 1.6.3