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 | // $Id: G4InclAblaVirtualData.cc,v 1.3 2010/06/14 16:10:01 gcosmo Exp $ |
---|
27 | // Translation of INCL4.2/ABLA V3 |
---|
28 | // Pekka Kaitaniemi, HIP (translation) |
---|
29 | // Christelle Schmidt, IPNL (fission code) |
---|
30 | // Alain Boudard, CEA (contact person INCL/ABLA) |
---|
31 | // Aatos Heikkinen, HIP (project coordination) |
---|
32 | |
---|
33 | #include "G4InclAblaVirtualData.hh" |
---|
34 | |
---|
35 | G4InclAblaVirtualData::G4InclAblaVirtualData() {} |
---|
36 | G4InclAblaVirtualData::~G4InclAblaVirtualData() {} |
---|
37 | |
---|
38 | bool G4InclAblaVirtualData::setAlpha(int A, int Z, double value) |
---|
39 | { |
---|
40 | alpha[A][Z] = value; |
---|
41 | |
---|
42 | return true; |
---|
43 | } |
---|
44 | |
---|
45 | bool G4InclAblaVirtualData::setEcnz(int A, int Z, double value) |
---|
46 | { |
---|
47 | ecnz[A][Z] = value; |
---|
48 | |
---|
49 | return true; |
---|
50 | } |
---|
51 | |
---|
52 | bool G4InclAblaVirtualData::setVgsld(int A, int Z, double value) |
---|
53 | { |
---|
54 | vgsld[A][Z] = value; |
---|
55 | |
---|
56 | return true; |
---|
57 | } |
---|
58 | |
---|
59 | bool G4InclAblaVirtualData::setPace2(int A, int Z, double value) |
---|
60 | { |
---|
61 | pace2[A][Z] = value; |
---|
62 | |
---|
63 | return true; |
---|
64 | } |
---|
65 | |
---|
66 | double G4InclAblaVirtualData::getAlpha(int A, int Z) |
---|
67 | { |
---|
68 | return alpha[A][Z]; |
---|
69 | } |
---|
70 | |
---|
71 | double G4InclAblaVirtualData::getEcnz(int A, int Z) |
---|
72 | { |
---|
73 | return ecnz[A][Z]; |
---|
74 | } |
---|
75 | |
---|
76 | double G4InclAblaVirtualData::getVgsld(int A, int Z) |
---|
77 | { |
---|
78 | return vgsld[A][Z]; |
---|
79 | } |
---|
80 | |
---|
81 | double G4InclAblaVirtualData::getPace2(int A, int Z) |
---|
82 | { |
---|
83 | return pace2[A][Z]; |
---|
84 | } |
---|
85 | |
---|
86 | int G4InclAblaVirtualData::getAlphaRows() |
---|
87 | { |
---|
88 | return alphaRows; |
---|
89 | } |
---|
90 | |
---|
91 | int G4InclAblaVirtualData::getAlphaCols() |
---|
92 | { |
---|
93 | return alphaCols; |
---|
94 | } |
---|
95 | int G4InclAblaVirtualData::getPaceRows() |
---|
96 | { |
---|
97 | return paceRows; |
---|
98 | } |
---|
99 | int G4InclAblaVirtualData::getPaceCols() |
---|
100 | { |
---|
101 | return paceCols; |
---|
102 | } |
---|