Import Geant4 4.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:39:52 +02:00
parent 921d3b1cda
commit 330b82b769
4524 changed files with 178689 additions and 43575 deletions
+21 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DataVector.cc,v 1.3 2001/11/29 18:59:35 gcosmo Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: G4DataVector.cc,v 1.5 2002/05/30 11:56:40 gcosmo Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
// --------------------------------------------------------------
@@ -37,6 +37,25 @@
#include "G4DataVector.hh"
#include "g4std/iomanip"
G4DataVector::G4DataVector()
: G4std::vector<G4double>()
{
}
G4DataVector::G4DataVector(size_t capacity)
: G4std::vector<G4double>(capacity, 0.0)
{
}
G4DataVector::G4DataVector(size_t capacity, G4double value)
: G4std::vector<G4double>(capacity, value)
{
}
G4DataVector::~G4DataVector()
{
}
G4bool G4DataVector::Store(G4std::ofstream& fOut, G4bool ascii)
{
// Ascii mode