Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user