Import Geant4 6.2.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LogicalBorderSurface.cc,v 1.12 2003/12/01 14:53:26 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-00-patch-01 $
|
||||
// $Id: G4LogicalBorderSurface.cc,v 1.13 2004/05/19 08:14:42 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// G4LogicalBorderSurface Implementation
|
||||
@@ -146,3 +146,14 @@ void G4LogicalBorderSurface::DumpInfo()
|
||||
}
|
||||
G4cout << G4endl;
|
||||
}
|
||||
|
||||
void G4LogicalBorderSurface::CleanSurfaceTable()
|
||||
{
|
||||
std::vector<G4LogicalBorderSurface*>::iterator pos;
|
||||
for(pos=theBorderSurfaceTable.begin();
|
||||
pos!=theBorderSurfaceTable.end(); pos++)
|
||||
{
|
||||
if (*pos) delete *pos;
|
||||
}
|
||||
theBorderSurfaceTable.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user