Skip to content

Commit

Permalink
[pp4t] in ggtt.sa, move nwf from src/mgOnGpuConfig.h to SubProcesses/…
Browse files Browse the repository at this point in the history
…P1*/CPPProcess.h (fix madgraph5#644)
  • Loading branch information
valassi committed May 22, 2023
1 parent b3a2a94 commit 9ce9daf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ namespace mg5amcCpu
using mgOnGpu::npar; // #particles in total (external = initial + final): e.g. 4 for e+ e- -> mu+ mu-
using mgOnGpu::ncomb; // #helicity combinations: e.g. 16 for e+ e- -> mu+ mu- (2**4 = fermion spin up/down ** npar)

using mgOnGpu::nwf; // #wavefunctions = #external (npar) + #internal: e.g. 5 for e+ e- -> mu+ mu- (1 internal is gamma or Z)
using mgOnGpu::nw6; // dimensions of each wavefunction (HELAS KEK 91-11): e.g. 6 for e+ e- -> mu+ mu- (fermions and vectors)

using CPPProcess::nwf; // #wavefunctions = #external (npar) + #internal: e.g. 5 for e+ e- -> mu+ mu- (1 internal is gamma or Z)

using Parameters_sm_dependentCouplings::ndcoup; // #couplings that vary event by event (depend on running alphas QCD)
using Parameters_sm_independentCouplings::nicoup; // #couplings that are fixed for all events (do not depend on running alphas QCD)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ namespace mg5amcCpu

// Hardcoded parameters for this process (constant class variables)
// [NB: this class assumes nprocesses==1 i.e. a single DSIG1 and no DSIG2 in Fortran (#272 and #343)]
// [NB: these parameters (e.g. nwf) are P1-specific, i.e. they are different for different P1 subdirectories (#644)]
static const int nwf = 5; // #wavefunctions = #external (npar) + #internal: e.g. 5 for e+ e- -> mu+ mu- (1 internal is gamma or Z)

// Other variables of this instance (???)
//static const int ninitial = mgOnGpu::npari;
//static const int nexternal = 4; // mgOnGpu::npar (nexternal was nioparticles)
//static const int nwavefuncs = 6; // mgOnGpu::nwf
//static const int nwavefuncs = 6; // (??? this is not nwf ???)
//static const int namplitudes = 3;
//static const int ncomb = 16; // mgOnGpu::ncomb

Expand Down
2 changes: 0 additions & 2 deletions epochX/cudacpp/gg_tt.sa/src/mgOnGpuConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ namespace mgOnGpu

const int nw6 = 6; // dimensions of each wavefunction (HELAS KEK 91-11): e.g. 6 for e+ e- -> mu+ mu- (fermions and vectors)

const int nwf = 5; // #wavefunctions = #external (npar) + #internal: e.g. 5 for e+ e- -> mu+ mu- (1 internal is gamma or Z)

// --- Platform-specific software implementation details

// Maximum number of blocks per grid
Expand Down

0 comments on commit 9ce9daf

Please sign in to comment.