Import Geant4 6.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UnitsTable.cc,v 1.18 2003/06/06 16:17:17 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
// $Id: G4UnitsTable.cc,v 1.20 2003/11/24 11:34:33 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-00 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//
|
||||
@@ -32,7 +32,7 @@
|
||||
// 01-03-01: parsec, M.Maire
|
||||
// 06-03-01: migration to STL vectors, G.Cosmo
|
||||
// 06-05-02: BestUnit operator<< flux instead of G4cout (mma)
|
||||
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
@@ -69,7 +69,12 @@ G4UnitDefinition::G4UnitDefinition(G4String name, G4String symbol,
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
G4UnitDefinition::~G4UnitDefinition()
|
||||
{}
|
||||
{
|
||||
for (size_t i=0;i<theUnitsTable.size();i++)
|
||||
{
|
||||
delete theUnitsTable[i];
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
@@ -174,6 +179,7 @@ void G4UnitDefinition::BuildUnitsTable()
|
||||
new G4UnitDefinition( "meter","m" ,"Length",meter);
|
||||
new G4UnitDefinition("centimeter","cm" ,"Length",centimeter);
|
||||
new G4UnitDefinition("millimeter","mm" ,"Length",millimeter);
|
||||
// new G4UnitDefinition("micrometer","um" ,"Length",micrometer);
|
||||
new G4UnitDefinition("micrometer","mum" ,"Length",micrometer);
|
||||
new G4UnitDefinition( "nanometer","nm" ,"Length",nanometer);
|
||||
new G4UnitDefinition( "angstrom","Ang" ,"Length",angstrom);
|
||||
@@ -287,27 +293,29 @@ void G4UnitDefinition::PrintUnitsTable()
|
||||
{
|
||||
G4cout << "\n ----- The Table of Units ----- \n";
|
||||
for(size_t i=0;i<theUnitsTable.size();i++)
|
||||
theUnitsTable[i]->PrintCategory();
|
||||
{
|
||||
theUnitsTable[i]->PrintCategory();
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
G4UnitsCategory::G4UnitsCategory(G4String name)
|
||||
:Name(name),NameMxLen(0),SymbMxLen(0)
|
||||
:Name(name),UnitsList(),NameMxLen(0),SymbMxLen(0)
|
||||
{
|
||||
UnitsList = *(new G4UnitsContainer);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
G4UnitsCategory::~G4UnitsCategory()
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
G4UnitsCategory::G4UnitsCategory(G4UnitsCategory& right)
|
||||
{
|
||||
*this = right;
|
||||
*this = right;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
Reference in New Issue
Block a user