Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -93,7 +93,7 @@ int main(int argc, char* argv[])
char useWendtFission[] = "G4NEUTRON_HP_USE_WENDT_FISSION_MODEL";
char Force[] = "G4FORCENUMBEROFTHREADS";
if(getenv(Force) != NULL) {
if(std::getenv(Force) != NULL) {
char doNotForce[]="G4FORCENUMBEROFTHREADS=1";
putenv(doNotForce);
}
@@ -103,7 +103,7 @@ int main(int argc, char* argv[])
// Verify that NeutronHP is going to create fission fragments
// Throw and error if it isn't.
if(getenv(makeFissionFragments) == NULL)
if(std::getenv(makeFissionFragments) == NULL)
{
G4cerr << G4endl << "!!!!" << G4endl;
G4cerr << "!!!! Error in example" << argv[0] << G4endl;
@@ -117,7 +117,7 @@ int main(int argc, char* argv[])
// We are trying to use the Wendt fission model in Neutron_HP
// Warn the user if the appropriate environment variable is not set up
if(getenv(useWendtFission) == NULL)
if(std::getenv(useWendtFission) == NULL)
{
G4cout << G4endl << "!!!!" << G4endl;
G4cout << "!!!! Warning in example" << argv[0] << G4endl;
File diff suppressed because it is too large Load Diff