Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
+5 -4
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Exception.cc,v 1.8 1999/11/29 10:17:46 gcosmo Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4Exception.cc,v 1.9 2000/07/22 10:45:35 asaim Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// ----------------------------------------------------------------------
@@ -21,15 +21,16 @@
#include "G4ios.hh"
#include <stdlib.h>
#include "g4rw/cstring.h"
#include "G4StateManager.hh"
void G4Exception(const char* s)
{
if (s)
if(s)
{
G4cerr << s << G4endl;
}
G4cerr << G4endl << "*** G4Exception: Aborting execution ***" << G4endl;
G4StateManager::GetStateManager()->SetNewState(Abort);
abort();
}