Commits

Sebastien Binet  committed dca9018

harmonize libs

  • Participants
  • Parent commits 2d7c759

Comments (0)

Files changed (2)

File includes/c-herwig/herwig.h

 
 #define hwpram hwpram_
 
+/* C Arrays for particle properties (NMXRES = max no of particles defined) */
+/*       PARAMETER(NMXRES=500) */
+/*       COMMON/HWPROP/RLTIM(0:NMXRES),RMASS(0:NMXRES),RSPIN(0:NMXRES), */
+/*      & ICHRG(0:NMXRES),IDPDG(0:NMXRES),IFLAV(0:NMXRES),NRES, */
+/*      & VTOCDK(0:NMXRES),VTORDK(0:NMXRES), */
+/*      & QORQQB(0:NMXRES),QBORQQ(0:NMXRES) */
+  #define NMXRES 500
+  extern struct {
+    double RLTIM[NMXRES],RMASS[NMXRES],RSPIN[NMXRES],ICHRG[NMXRES];
+    int IDPDG[NMXRES],IFLAV[NMXRES],NRES;
+    double VTOCDK[NMXRES],VTORDK[NMXRES], QORQQB[NMXRES],QBORQQ[NMXRES];
+  } hwprop_;
+  #define hwprop hwprop_
+  
   //--------------------------------------------------------------------------
   // HERWIG routines declaration
 
 def build(ctx):
 
     ctx(features='cxx cxxshlib',
-        name    = 'c_herwig',
+        name    = 'c-herwig',
         source  = 'src/herwig.cxx',
-        target  = 'c_herwig',
+        target  = 'c-herwig',
         includes= ['includes'],
         export_includes=['includes'],
         use     = ['herwig65',],