Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4LLNLFission.hh
이 파일의 문서화 페이지로 가기
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // This software was developed by Lawrence Livermore National Laboratory.
28 //
29 // Redistribution and use in source and binary forms, with or without
30 // modification, are permitted provided that the following conditions are met:
31 //
32 // 1. Redistributions of source code must retain the above copyright notice,
33 // this list of conditions and the following disclaimer.
34 // 2. Redistributions in binary form must reproduce the above copyright notice,
35 // this list of conditions and the following disclaimer in the documentation
36 // and/or other materials provided with the distribution.
37 // 3. The name of the author may not be used to endorse or promote products
38 // derived from this software without specific prior written permission.
39 //
40 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
41 // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
42 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
43 // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
44 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
45 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
46 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
47 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
48 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
49 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50 //
51 // Copyright (c) 2006 The Regents of the University of California.
52 // All rights reserved.
53 // UCRL-CODE-224807
54 //
55 // $Id: G4LLNLFission.hh 67966 2013-03-13 09:38:38Z gcosmo $
56 //
57 
58 #include "G4Types.hh"
59 
60 //
61 // This file is a copy of Fission.hh, made for use with Geant4.
62 //
63 
64  extern void genspfissevt_(G4int *isotope, G4double *time);
65 /*
66  * This function is called to trigger a spontaneous fission.
67  * Multiple neutrons and photons are generated and stored
68  * in a stack along with their energies, directions and
69  * emission times.
70  * The arguments of this function are
71  * isotope: 94239 for Pu-239 for instance
72  * time: the time of the spontaneous fission
73  */
74 
75  extern void genfissevt_(G4int *isotope, G4double *time, G4double *nubar, G4double *eng);
76 /*
77  * This function is called to trigger a neutron-induced fission.
78  * Multiple neutrons and photons are generated and stored
79  * in a stack along with their energies, directions and
80  * emission times. In addition to the arguments above, this
81  * function needs
82  * nubar: user-specified average number of neutrons emitted
83  * per fission (e.g. as tabulated in the cross-section
84  * libraries used by the particle transport code)
85  * eng: energy of the neutron inducing fission
86  */
87 
88  extern G4int getnnu_();
89 /*
90  * This function returns the number of neutrons emitted by the
91  * fission, -1 if there is no neutron data for that isotope in
92  * the fission library.
93  */
94 
95  extern G4int getpnu_();
96 /*
97  * This function returns the number of photons emitted by the
98  * fission, -1 if there is no photon data for that isotope in
99  * the fission library.
100  */
101 
102  extern G4double getneng_(G4int *index);
103 /*
104  * Given the index of the emitted neutron, this function returns
105  * its energy, -1 if index isout of range.
106  */
107 
108  extern G4double getnvel_(G4int *index);
109 /*
110  * Given the index of the emitted neutron, this function returns
111  * the amplitude of its velocity, -1 if index is out of range.
112  */
113 
114  extern G4double getndircosu_(G4int *index);
115  extern G4double getndircosv_(G4int *index);
116  extern G4double getndircosw_(G4int *index);
117 /*
118  * Given the index of the emitted neutron, this function returns
119  * the direction cosines of its velocity vector on the x, y and z
120  * axes.
121  */
122 
123  extern G4double getpeng_(G4int *index);
124 /*
125  * Given the index of the emitted photon, this function returns
126  * its energy, -1 if index is out of range.
127  */
128 
129  extern G4double getpvel_(G4int *index);
130 /*
131  * Given the index of the emitted photon, this function returns
132  * the amplitude of its velocity, -1 if index is out of range.
133  */
134 
135  extern G4double getpdircosu_(G4int *index);
136  extern G4double getpdircosv_(G4int *index);
137  extern G4double getpdircosw_(G4int *index);
138 /*
139  * Given the index of the emitted photon, this function returns
140  * the direction cosines of its velocity.
141  */
142 
143  extern G4double getnage_(G4int *index);
144 /*
145  * Given the index of the emitted neutron, this function returns
146  * its age, -1 if index is out of range.
147  * This age will be different from the time specified
148  * in generateFissionEvent and generateSpontaneousFissionEvent
149  * for non-prompt neutrons, i.e. delayed neutrons.
150  */
151 
152  extern G4double getpage_(G4int *index);
153 /*
154  * Given the index of the emitted photon, this function returns
155  * its age, -1 of index is out of range.
156  * This age will be different from the time specified
157  * in generateFissionEvent and generateSpontaneousFissionEvent
158  * for photons that are emitted by beta-decay of the fission
159  * fragments.
160  */
161 
162  extern void setdelay_(G4int *delay);
163 /*
164  * This function is called to enable delayed neutrons and photons
165  * Input
166  * delay:
167  * 0 (default) for strictly prompt neutrons and
168  * photons
169  * 1 (n/a) for prompt neutrons, prompt and delayed
170  * photons
171  * 2 (n/a) for prompt and delayed neutrons, prompt
172  * photons
173  * 3 (n/a) for prompt and delayed neutrons, prompt
174  * and delayed photons
175  */
176 
177  extern void setcorrel_(G4int *correlation);
178 /*
179  * This function is called to set the type of neutron photon correlation
180  * Input
181  * correlation:
182  * 0 (default) for no correlation between neutrons and
183  * photons
184  * 1 (n/a) for number correlation between neutrons and
185  * photons
186  * 2 (n/a) for number and energy correlation between
187  * neutrons and photons
188  */
189 
190  extern void setnudist_(G4int *nudist);
191 /*
192  * This function is called to set the data to be sampled for the neutron
193  * number distributions in induced fissions
194  * Input
195  * nudist:
196  * 0 to use the fit to the Zucker and Holden tabulated
197  * P(nu) distributions as a function of energy for
198  * U235, U238 and Pu239. Terrell for other isotopes.
199  * 1 to use fits to the Zucker and Holden tabulated
200  * P(nu) distribution as a function of energy for
201  * U238 and Pu239, and a fit to the Zucker and Holden
202  * data as well as the Gwin, Spencer and Ingle data
203  * (at thermal energies) as a function of energy for
204  * U235. Terrell for other isotopes.
205  * 2 (default) to use the fit to the Zucker and Holden
206  * tabulated P(nu) distributions as a function of nubar.
207  * The U238 fit is used for the U232, U234, U236 and
208  * U238 isotopes, the U235 fit for U233 and U235, the
209  * Pu239 fit for Pu239 and Pu241. Terrell for other
210  * isotopes.
211  */
212 
213 
214  extern void setcf252_(G4int *ndist, G4int *neng);
215 /*
216  * This function is called to set the data to be sampled for the
217  * (a) Cf252 spontaneous fission number distribution, and
218  * (b) Cf252 spontaneous fission neutron energy spectrum
219  * Input
220  * ndist:
221  * 0 (default) to sample the number of neutrons from the
222  * tabulated data measured by Spencer
223  * 1 to sample the number of neutrons from Boldeman's data
224  * neng:
225  * 0 to sample the spontaneous fission neutron energy from
226  * Mannhart corrected Maxwellian spectrum
227  * 1 to sample the spontaneous fission neutron energy from
228  * Madland-Nix theoretical spectrum
229  * 2 to sample the spontaneous fission neutron energy from
230  * the Froehner Watt spectrum
231  */
232 
233  extern void setrngf_(G4float (*funcptr) (void));
234 /*
235  * This function sets the random number generator to the user-defined
236  * one specified in the argument. If either setrngf_ or setrngd_ are
237  * not specified, the default system call srand48 will be called.
238  * Input
239  * funcptr:
240  * a random number generator function that returns a
241  * variable of type G4float
242  */
243 
244  extern void setrngd_(G4double (*funcptr) (void));
245 /*
246  * This function sets the random number generator to the user-defined
247  * one specified in the argument. If either setrngf_ or setrngd_ are
248  * not specified, the default system call srand48 will be called.
249  * Input
250  * funcptr:
251  * a random number generator function that returns a
252  * variable of type G4double
253  */
254 // }
void genfissevt_(G4int *isotope, G4double *time, G4double *nubar, G4double *eng)
G4double getndircosu_(G4int *index)
float G4float
Definition: G4Types.hh:77
void setdelay_(G4int *delay)
G4double getndircosv_(G4int *index)
G4int getpnu_()
void setnudist_(G4int *nudist)
void setrngd_(G4double(*funcptr)(void))
G4double getpdircosw_(G4int *index)
double G4double
Definition: G4Types.hh:76
G4double getndircosw_(G4int *index)
G4double getnage_(G4int *index)
G4double getpeng_(G4int *index)
void genspfissevt_(G4int *isotope, G4double *time)
void setrngf_(G4float(*funcptr)(void))
G4double getnvel_(G4int *index)
void setcorrel_(G4int *correlation)
G4double getpvel_(G4int *index)
G4double getpdircosu_(G4int *index)
G4double getpdircosv_(G4int *index)
G4double getneng_(G4int *index)
int G4int
Definition: G4Types.hh:78
G4double getpage_(G4int *index)
void setcf252_(G4int *ndist, G4int *neng)
G4int getnnu_()