4 ///////////////////////////////////////////////////////////////////
6 // WrapDN.hh - Sara Vanini - 17/XI/98
8 // Wrapper for setting DNEAR option on fluka side. Must return 0
9 // if user doesn't want Fluka to use DNEAR to compute the
10 // step (the same effect is obtained with the GLOBAL (WHAT(3)=-1)
11 // card in fluka input), returns 1 if user wants Fluka always to
12 // use DNEAR (in this case, be sure that GEANT4 DNEAR is unique,
13 // coming from all directions!!!).
15 // modified 24.10.01: by I. Hrivnacova
16 // functions declarations separated from implementation
17 // (moved to Wrappers.hh);
19 ///////////////////////////////////////////////////////////////////
22 //#define idnrwr idnrwr_
24 #include "Wrappers.hh"
27 G4int idnrwr(const G4int & nreg, const G4int & mlat)
31 #ifdef G4GEOMETRY_DEBUG
32 G4cout<<"================== IDNRWR ================="<<G4endl;
35 // returns 0 if user doesn't want Fluka to use DNEAR to compute the
36 // step (the same effect is obtained with the GLOBAL (WHAT(3)=-1)
37 // card in fluka input), returns 1 if (be sure that GEANT4 DNEAR is unique,
38 // coming from all directions!!!) user wants Fluka always to use DNEAR.