Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -76,7 +76,7 @@ G4INCLXXInterface::G4INCLXXInterface(G4VPreCompoundModel * const aPreCompound) :
|
||||
}
|
||||
|
||||
// Use the environment variable G4INCLXX_NO_DE_EXCITATION to disable de-excitation
|
||||
if(getenv("G4INCLXX_NO_DE_EXCITATION")) {
|
||||
if(std::getenv("G4INCLXX_NO_DE_EXCITATION")) {
|
||||
G4String message = "de-excitation is completely disabled!";
|
||||
theInterfaceStore->EmitWarning(message);
|
||||
theDeExcitation = 0;
|
||||
@@ -104,7 +104,7 @@ G4INCLXXInterface::G4INCLXXInterface(G4VPreCompoundModel * const aPreCompound) :
|
||||
|
||||
// use the envvar G4INCLXX_DUMP_REMNANT to dump information about the
|
||||
// remnants on stdout
|
||||
if(getenv("G4INCLXX_DUMP_REMNANT"))
|
||||
if(std::getenv("G4INCLXX_DUMP_REMNANT"))
|
||||
dumpRemnantInfo = true;
|
||||
else
|
||||
dumpRemnantInfo = false;
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace G4INCL {
|
||||
cleanTable();
|
||||
|
||||
#ifdef INCLXX_IN_GEANT4_MODE
|
||||
if(!getenv("G4INCLDATA")) {
|
||||
if(!std::getenv("G4INCLDATA")) {
|
||||
G4ExceptionDescription ed;
|
||||
ed << " Data missing: set environment variable G4INCLDATA\n"
|
||||
<< " to point to the directory containing data files needed\n"
|
||||
@@ -88,7 +88,7 @@ namespace G4INCL {
|
||||
G4Exception("G4INCLDataFile::readData()","table_radius_hfb.dat",
|
||||
FatalException, ed);
|
||||
}
|
||||
G4String dataPath0(getenv("G4INCLDATA"));
|
||||
G4String dataPath0(std::getenv("G4INCLDATA"));
|
||||
G4String dataPath(dataPath0 + "/table_radius_hfb.dat");
|
||||
#else
|
||||
// File name
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace G4INCL {
|
||||
}
|
||||
|
||||
void initVerbosityLevelFromEnvvar() {
|
||||
const char * const envVar = getenv("G4INCL_DEBUG_VERBOSITY");
|
||||
const char * const envVar = std::getenv("G4INCL_DEBUG_VERBOSITY");
|
||||
if(envVar) {
|
||||
std::stringstream verbss(envVar);
|
||||
verbss >> verbosityLevel;
|
||||
|
||||
Reference in New Issue
Block a user