Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -1,33 +1,33 @@
|
||||
# -----------------------------------------------------------
|
||||
# Category hadr-lend History
|
||||
|
||||
==================================================
|
||||
Geant4 - an Object-Oriented Toolkit for Simulation
|
||||
==================================================
|
||||
See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
|
||||
which **must** added in reverse chronological order (newest at the top).
|
||||
It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
History file for LEND Cross Section and Model
|
||||
---------------------------------------------
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
This file should be used to summarize modifications introduced in the
|
||||
code and to keep track of all tags.
|
||||
## 2022-05-23 Gabriele Cosmo (hadr-lend-V11-00-04)
|
||||
- Fixed potential use of pointer after free in nf_utilities/nfu_realloc(..)
|
||||
function.
|
||||
|
||||
---------------------------------------------------------------
|
||||
* Please list in reverse chronological order (last date on top)
|
||||
---------------------------------------------------------------
|
||||
|
||||
26 April 2022 Alberto Ribon (hard-lend-V10-07-03)
|
||||
-------------------------------------------------
|
||||
## 2022-04-26 Alberto Ribon (hard-lend-V11-00-03)
|
||||
- MCGIDI_energy.cc : fixed compilation warnings for 'may be used uninitialized'
|
||||
variables.
|
||||
|
||||
20 April 2022 Alberto Ribon
|
||||
---------------------------
|
||||
## 2022-04-20 Alberto Ribon (hadr-lend-V11-00-02)
|
||||
- MCGIDI_energy.cc, ptwXY_methods.cc, ptwXY_misc.cc : fixed compilation
|
||||
warnings for 'may be used uninitialized' variables.
|
||||
|
||||
9 February 2022 Gabriele Cosmo
|
||||
------------------------------
|
||||
## 2022-02-09 Gabriele Cosmo (hadr-lend-V11-00-01)
|
||||
- Fixed compilation warning on Intel compilers for unused variable.
|
||||
|
||||
## 2021-12-10 Ben Morgan (hadr-lend-V11-00-00)
|
||||
- Change to new Markdown History format.
|
||||
|
||||
---
|
||||
|
||||
# History entries prior to 11.0
|
||||
|
||||
4 August 2021 Alberto Ribon (hadr-lend-V10-07-02)
|
||||
-------------------------------------------------
|
||||
- G4LENDModel, G4LENDCapture, G4LENDElastic, G4LENDFission, G4LENDInelastic :
|
||||
|
||||
@@ -66,23 +66,23 @@ G4LENDManager::G4LENDManager()
|
||||
G4String xmcf_t;
|
||||
G4String xmcf_he3;
|
||||
G4String xmcf_a;
|
||||
if( std::getenv("G4LENDDATA") == NULL ) {
|
||||
if( G4FindDataDir("G4LENDDATA") == NULL ) {
|
||||
throw G4HadronicException(__FILE__, __LINE__, " Please setenv G4LENDDATA to point to the LEND files." );
|
||||
} else {
|
||||
xmcf = std::getenv("G4LENDDATA");
|
||||
xmcf = G4FindDataDir("G4LENDDATA");
|
||||
//xmcf += "/xmcf.n_1.map";
|
||||
xmcf += "/neutrons.map";
|
||||
xmcf_gamma = std::getenv("G4LENDDATA");
|
||||
xmcf_gamma = G4FindDataDir("G4LENDDATA");
|
||||
xmcf_gamma += "/gammas.map";
|
||||
xmcf_p = std::getenv("G4LENDDATA");
|
||||
xmcf_p = G4FindDataDir("G4LENDDATA");
|
||||
xmcf_p += "/protons.map";
|
||||
xmcf_d = std::getenv("G4LENDDATA");
|
||||
xmcf_d = G4FindDataDir("G4LENDDATA");
|
||||
xmcf_d += "/deuterons.map";
|
||||
xmcf_t = std::getenv("G4LENDDATA");
|
||||
xmcf_t = G4FindDataDir("G4LENDDATA");
|
||||
xmcf_t += "/tritons.map";
|
||||
xmcf_he3 = std::getenv("G4LENDDATA");
|
||||
xmcf_he3 = G4FindDataDir("G4LENDDATA");
|
||||
xmcf_he3 += "/He3s.map";
|
||||
xmcf_a = std::getenv("G4LENDDATA");
|
||||
xmcf_a = G4FindDataDir("G4LENDDATA");
|
||||
xmcf_a += "/alphas.map";
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ void *nfu_realloc( size_t size, void *old ) {
|
||||
|
||||
void *p = realloc( old, size );
|
||||
|
||||
if( nfu_debugging ) printf( "nfu_realloc %12p size = %8llu, old = %12p\n", p, (long long unsigned) size, old );
|
||||
if( nfu_debugging ) printf( "nfu_realloc %12p size = %8llu", p, (long long unsigned) size );
|
||||
return( p );
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user