Import Geant4 10.5.0 source tree
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIaliasList.cc,v 1.6 2006-06-29 19:08:33 gunter Exp $
|
||||
//
|
||||
|
||||
#include "G4GenericMessenger.hh"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LocalThreadCoutMessenger.cc 66241 2012-12-13 18:34:42Z gunter $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIaliasList.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
|
||||
#include "G4UIaliasList.hh"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4UIbatch.cc 98731 2016-08-09 10:49:49Z gcosmo $
|
||||
//
|
||||
// ====================================================================
|
||||
// G4UIbatch.cc
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4UIbridge.cc 66885 2013-01-16 17:37:13Z gunter $
|
||||
//
|
||||
// ====================================================================
|
||||
// G4UIbridge.cc
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWith3Vector.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWith3VectorAndUnit.cc 77308 2013-11-22 11:22:28Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithABool.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithADouble.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithADoubleAndUnit.cc 77308 2013-11-22 11:22:28Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithAString.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithAnInteger.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithoutParameter.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcommand.cc 108081 2017-12-21 07:53:54Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -941,6 +940,19 @@ Eval2(yystype arg1, G4int op, yystype arg2)
|
||||
case 'I':
|
||||
if( arg2.type == CONSTINT ) {
|
||||
return CompareInt( newVal[i].I, op, arg2.I );
|
||||
//===================================================================
|
||||
// MA - 2018.07.23
|
||||
} else if( arg2.type == IDENTIFIER ) {
|
||||
unsigned iii = IndexOf( arg2.S );
|
||||
char newValtype2 = toupper(parameter[iii]->GetParameterType());
|
||||
if( newValtype2 == 'I' ) {
|
||||
return CompareInt( newVal[i].I, op, newVal[iii].I );
|
||||
} else if( newValtype2 == 'D' ) {
|
||||
G4cerr << "Warning : Integer is compared with double : "
|
||||
<< rangeString << G4endl;
|
||||
return CompareDouble( newVal[i].I, op, newVal[iii].D );
|
||||
}
|
||||
//===================================================================
|
||||
} else {
|
||||
G4cerr << "integer operand expected for "
|
||||
<< rangeString
|
||||
@@ -949,9 +961,19 @@ Eval2(yystype arg1, G4int op, yystype arg2)
|
||||
case 'D':
|
||||
if( arg2.type == CONSTDOUBLE ) {
|
||||
return CompareDouble( newVal[i].D, op, arg2.D );
|
||||
} else
|
||||
if ( arg2.type == CONSTINT ) { // integral promotion
|
||||
} else if ( arg2.type == CONSTINT ) { // integral promotion
|
||||
return CompareDouble( newVal[i].D, op, arg2.I );
|
||||
//===================================================================
|
||||
// MA - 2018.07.23
|
||||
} else if( arg2.type == IDENTIFIER ) {
|
||||
unsigned iii = IndexOf( arg2.S );
|
||||
char newValtype2 = toupper(parameter[iii]->GetParameterType());
|
||||
if( newValtype2 == 'I' ) {
|
||||
return CompareDouble( newVal[i].D, op, newVal[iii].I );
|
||||
} else if( newValtype2 == 'D' ) {
|
||||
return CompareDouble( newVal[i].D, op, newVal[iii].D );
|
||||
}
|
||||
//===================================================================
|
||||
} break;
|
||||
default: ;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcommandTree.cc 77651 2013-11-27 08:47:55Z gcosmo $
|
||||
//
|
||||
|
||||
#include "G4UIcommandTree.hh"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcontrolMessenger.cc 110932 2018-06-26 08:06:51Z gcosmo $
|
||||
//
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIdirectory.cc 74098 2013-09-22 16:05:49Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UImanager.cc 110270 2018-05-17 14:38:26Z gcosmo $
|
||||
//
|
||||
//
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UImessenger.cc 84281 2014-10-13 07:21:50Z gcosmo $
|
||||
//
|
||||
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIparameter.cc 79626 2014-03-10 11:18:47Z gcosmo $
|
||||
//
|
||||
|
||||
#include "G4UIparameter.hh"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIsession.cc 98731 2016-08-09 10:49:49Z gcosmo $
|
||||
//
|
||||
//
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UnitsMessenger.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VGlobalFastSimulationManager.cc 67965 2013-03-13 09:35:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
// Abstract interface for GEANT4 Global Fast Simulation Manager.
|
||||
|
||||
Reference in New Issue
Block a user