Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4LLNLFission.cc File Reference
#include "G4fissionEvent.hh"

Go to the source code of this file.

Functions

G4double rngf2d (void)
 
void genspfissevt_ (G4int *isotope, G4double *time)
 
void genfissevt_ (G4int *isotope, G4double *time, G4double *nubar, G4double *eng)
 
G4int getnnu_ ()
 
G4int getpnu_ ()
 
G4double getneng_ (G4int *index)
 
G4double getnvel_ (G4int *index)
 
G4double getndircosu_ (G4int *index)
 
G4double getndircosv_ (G4int *index)
 
G4double getndircosw_ (G4int *index)
 
G4double getpeng_ (G4int *index)
 
G4double getpvel_ (G4int *index)
 
G4double getpdircosu_ (G4int *index)
 
G4double getpdircosv_ (G4int *index)
 
G4double getpdircosw_ (G4int *index)
 
G4double getnage_ (G4int *index)
 
G4double getpage_ (G4int *index)
 
void setdelay_ (G4int *delay)
 
void setcorrel_ (G4int *correlation)
 
void setnudist_ (G4int *nudist)
 
void setcf252_ (G4int *ndist, G4int *neng)
 
void setrngf_ (G4float(*funcptr)(void))
 
void setrngd_ (G4double(*funcptr)(void))
 

Variables

G4fissionEventfe
 
G4float(* rngfptr )(void)
 
G4double(* rngdptr )(void)
 

Function Documentation

◆ genfissevt_()

void genfissevt_ ( G4int isotope,
G4double time,
G4double nubar,
G4double eng 
)

Definition at line 77 of file G4LLNLFission.cc.

77 {
78 if (fe != 0) delete fe;
79 fe = new G4fissionEvent(*isotope, *time, *nubar, *eng);
80 }
G4fissionEvent * fe

◆ genspfissevt_()

void genspfissevt_ ( G4int isotope,
G4double time 
)

Definition at line 72 of file G4LLNLFission.cc.

72 {
73 if (fe != 0) delete fe;
74 fe = new G4fissionEvent(*isotope, *time, -1., 0.);
75 }

◆ getnage_()

G4double getnage_ ( G4int index)

Definition at line 130 of file G4LLNLFission.cc.

130 {
131 return (*fe).getNeutronAge(*index);
132 }

◆ getndircosu_()

G4double getndircosu_ ( G4int index)

Definition at line 98 of file G4LLNLFission.cc.

98 {
99 return (*fe).getNeutronDircosu(*index);
100 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getndircosv_()

G4double getndircosv_ ( G4int index)

Definition at line 102 of file G4LLNLFission.cc.

102 {
103 return (*fe).getNeutronDircosv(*index);
104 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getndircosw_()

G4double getndircosw_ ( G4int index)

Definition at line 106 of file G4LLNLFission.cc.

106 {
107 return (*fe).getNeutronDircosw(*index);
108 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getneng_()

G4double getneng_ ( G4int index)

Definition at line 90 of file G4LLNLFission.cc.

90 {
91 return (*fe).getNeutronEnergy(*index);
92 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getnnu_()

G4int getnnu_ ( )

Definition at line 82 of file G4LLNLFission.cc.

82 {
83 return (*fe).getNeutronNu();
84 }

◆ getnvel_()

G4double getnvel_ ( G4int index)

Definition at line 94 of file G4LLNLFission.cc.

94 {
95 return (*fe).getNeutronVelocity(*index);
96 }

◆ getpage_()

G4double getpage_ ( G4int index)

Definition at line 134 of file G4LLNLFission.cc.

134 {
135 return (*fe).getPhotonAge(*index);
136 }

◆ getpdircosu_()

G4double getpdircosu_ ( G4int index)

Definition at line 118 of file G4LLNLFission.cc.

118 {
119 return (*fe).getPhotonDircosu(*index);
120 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getpdircosv_()

G4double getpdircosv_ ( G4int index)

Definition at line 122 of file G4LLNLFission.cc.

122 {
123 return (*fe).getPhotonDircosv(*index);
124 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getpdircosw_()

G4double getpdircosw_ ( G4int index)

Definition at line 126 of file G4LLNLFission.cc.

126 {
127 return (*fe).getPhotonDircosw(*index);
128 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getpeng_()

G4double getpeng_ ( G4int index)

Definition at line 110 of file G4LLNLFission.cc.

110 {
111 return (*fe).getPhotonEnergy(*index);
112 }

Referenced by G4FissionLibrary::ApplyYourself().

◆ getpnu_()

G4int getpnu_ ( )

Definition at line 86 of file G4LLNLFission.cc.

86 {
87 return (*fe).getPhotonNu();
88 }

◆ getpvel_()

G4double getpvel_ ( G4int index)

Definition at line 114 of file G4LLNLFission.cc.

114 {
115 return (*fe).getPhotonVelocity(*index);
116 }

◆ rngf2d()

G4double rngf2d ( void  )

◆ setcf252_()

void setcf252_ ( G4int ndist,
G4int neng 
)

Definition at line 186 of file G4LLNLFission.cc.

186 {
187/*
188 where the argument
189 *ndist is set to
190 0 to sample the spontaneous fission neutron multiplicity
191 using tabulated data from Spencer
192 1 to sample the spontaneous fission neutron multiplicity
193 using tabulated data from Boldeman
194 *neng is set to
195 0 to sample the Mannhart corrected Maxwellian spectrum
196 1 to sample the Madland-Nix theoretical spectrum
197 2 to sample the Froehner Watt spectrum
198*/
199 (*fe).setCf252Option(*ndist, *neng);
200 }

◆ setcorrel_()

void setcorrel_ ( G4int correlation)

Definition at line 142 of file G4LLNLFission.cc.

142 {
143 (*fe).setCorrelationOption(*correlation);
144 }

◆ setdelay_()

void setdelay_ ( G4int delay)

Definition at line 138 of file G4LLNLFission.cc.

138 {
139 (*fe).setDelayOption(*delay);
140 }

◆ setnudist_()

void setnudist_ ( G4int nudist)

Definition at line 146 of file G4LLNLFission.cc.

146 {
147/*
148 where the argument *nudist affects induced fissions only, it
149 is set to
150 0 for sampling Zucker and Holden probability distributions
151 for U-235,238 and Pu-239. Terrell for other isotopes.
152 1 same as above, but using Gwin, Spencer and Ingle
153 tabulated distributions for thermal energies for U-235.
154 Terrell for other isotopes.
155 2 for sampling fission-induced neutron multiplicity in
156 (a) U-232, U-234, U-236 and U-238 using Zucker and
157 Holden's tabulated data for U-238
158 (b) U-233 and U-235 using Zucker and Holden's tabulated
159 data for U-235
160 (c) Pu-239 and Pu-241 using Zucker and Holden's tabulated
161 data for Pu-239
162 The P(nu) distributions for *nudist=2 are given as a
163 function of the average number of neutrons from fission,
164 based on interpolation of the data from Zucker and Holden.
165 Terrell for other isotopes.
166 3 for sampling fission-induced neutron multiplicity in
167 (a) U-232, U-234, U-236 and U-238 using Zucker and
168 Holden's tabulated data for U-238
169 (b) U-233 and U-235 using Zucker and Holden's tabulated
170 data for U-235
171 (c) Pu-239 and Pu-241 using Zucker and Holden's tabulated
172 data for Pu-239
173 The Z&H tables have P(nu) distributions for 11 energies
174 (0 MeV through 10 MeV), along with their nubars. For
175 *nudist=3, we select the P(nu) distribution that has
176 a nubar closest either from above, or from below, to the
177 to the nubar entered for the induced fission, based on a
178 random number and fractional distances to the end of the
179 nubar interval thus formed.
180 Terrell for other isotopes.
181*/
182
183 (*fe).setNudistOption(*nudist);
184 }

◆ setrngd_()

void setrngd_ ( G4double(*)(void)  funcptr)

Definition at line 206 of file G4LLNLFission.cc.

206 {
208 }
static void setRNGd(G4double(*funcptr)(void))

◆ setrngf_()

void setrngf_ ( G4float(*)(void)  funcptr)

Definition at line 202 of file G4LLNLFission.cc.

202 {
204 }
static void setRNGf(float(*funcptr)(void))

Variable Documentation

◆ fe

◆ rngdptr

G4double(* rngdptr) (void) ( void  )
extern

◆ rngfptr

G4float(* rngfptr) (void) ( void  )
extern