| [819] | 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.2 2007/09/11 13:19:25 miheikki 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 | {
|
|---|
| 37 |
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
| 40 | bool G4InclAblaVirtualData::setAlpha(int A, int Z, double value)
|
|---|
| 41 | {
|
|---|
| 42 | alpha[A][Z] = value;
|
|---|
| 43 |
|
|---|
| 44 | return true;
|
|---|
| 45 | }
|
|---|
| 46 |
|
|---|
| 47 | bool G4InclAblaVirtualData::setEcnz(int A, int Z, double value)
|
|---|
| 48 | {
|
|---|
| 49 | ecnz[A][Z] = value;
|
|---|
| 50 |
|
|---|
| 51 | return true;
|
|---|
| 52 | }
|
|---|
| 53 |
|
|---|
| 54 | bool G4InclAblaVirtualData::setVgsld(int A, int Z, double value)
|
|---|
| 55 | {
|
|---|
| 56 | vgsld[A][Z] = value;
|
|---|
| 57 |
|
|---|
| 58 | return true;
|
|---|
| 59 | }
|
|---|
| 60 |
|
|---|
| 61 | bool G4InclAblaVirtualData::setPace2(int A, int Z, double value)
|
|---|
| 62 | {
|
|---|
| 63 | pace2[A][Z] = value;
|
|---|
| 64 |
|
|---|
| 65 | return true;
|
|---|
| 66 | }
|
|---|
| 67 |
|
|---|
| 68 | double G4InclAblaVirtualData::getAlpha(int A, int Z)
|
|---|
| 69 | {
|
|---|
| 70 | return alpha[A][Z];
|
|---|
| 71 | }
|
|---|
| 72 |
|
|---|
| 73 | double G4InclAblaVirtualData::getEcnz(int A, int Z)
|
|---|
| 74 | {
|
|---|
| 75 | return ecnz[A][Z];
|
|---|
| 76 | }
|
|---|
| 77 |
|
|---|
| 78 | double G4InclAblaVirtualData::getVgsld(int A, int Z)
|
|---|
| 79 | {
|
|---|
| 80 | return vgsld[A][Z];
|
|---|
| 81 | }
|
|---|
| 82 |
|
|---|
| 83 | double G4InclAblaVirtualData::getPace2(int A, int Z)
|
|---|
| 84 | {
|
|---|
| 85 | return pace2[A][Z];
|
|---|
| 86 | }
|
|---|
| 87 |
|
|---|
| 88 | int G4InclAblaVirtualData::getAlphaRows()
|
|---|
| 89 | {
|
|---|
| 90 | return alphaRows;
|
|---|
| 91 | }
|
|---|
| 92 |
|
|---|
| 93 | int G4InclAblaVirtualData::getAlphaCols()
|
|---|
| 94 | {
|
|---|
| 95 | return alphaCols;
|
|---|
| 96 | }
|
|---|
| 97 | int G4InclAblaVirtualData::getPaceRows()
|
|---|
| 98 | {
|
|---|
| 99 | return paceRows;
|
|---|
| 100 | }
|
|---|
| 101 | int G4InclAblaVirtualData::getPaceCols()
|
|---|
| 102 | {
|
|---|
| 103 | return paceCols;
|
|---|
| 104 | }
|
|---|