Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4SmartVoxelNode.icc,v 1.5 2006/06/29 18:32:15 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: G4SmartVoxelNode.icc,v 1.7 2008/01/24 15:47:23 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// G4SmartVoxelNode Inline implementation
@@ -50,6 +50,24 @@ G4int G4SmartVoxelNode::GetNoContained() const
return fcontents.size();
}
inline
G4int G4SmartVoxelNode::GetCapacity() const
{
return fcontents.capacity();
}
inline
void G4SmartVoxelNode::Reserve(G4int noSlices)
{
fcontents.reserve(noSlices);
}
inline
void G4SmartVoxelNode::Shrink()
{
G4SliceVector(fcontents).swap(fcontents);
}
inline
G4int G4SmartVoxelNode::GetMaxEquivalentSliceNo() const
{