#include <G4LogicalBorderSurface.hh>
Definition at line 55 of file G4LogicalBorderSurface.hh.
Definition at line 51 of file G4LogicalBorderSurface.cc.
56 Volume1(vol1), Volume2(vol2)
58 if (!theBorderSurfaceTable)
65 theBorderSurfaceTable->push_back(
this);
std::vector< G4LogicalBorderSurface * > G4LogicalBorderSurfaceTable
G4LogicalSurface(const G4String &name, G4SurfaceProperty *prop)
G4LogicalBorderSurface::~G4LogicalBorderSurface |
( |
| ) |
|
void G4LogicalBorderSurface::CleanSurfaceTable |
( |
| ) |
|
|
static |
Definition at line 178 of file G4LogicalBorderSurface.cc.
180 if (theBorderSurfaceTable)
182 G4LogicalBorderSurfaceTable::iterator
pos;
183 for(pos=theBorderSurfaceTable->begin();
184 pos!=theBorderSurfaceTable->end(); pos++)
186 if (*pos) {
delete *
pos; }
188 theBorderSurfaceTable->clear();
static const G4double pos
void G4LogicalBorderSurface::DumpInfo |
( |
| ) |
|
|
static |
Definition at line 158 of file G4LogicalBorderSurface.cc.
160 G4cout <<
"***** Surface Table : Nb of Surfaces = "
163 if (theBorderSurfaceTable)
165 for (
size_t i=0; i<theBorderSurfaceTable->size(); i++)
169 <<
" Border of volumes "
const G4VPhysicalVolume * GetVolume2() const
static size_t GetNumberOfBorderSurfaces()
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
const G4VPhysicalVolume * GetVolume1() const
size_t G4LogicalBorderSurface::GetNumberOfBorderSurfaces |
( |
| ) |
|
|
static |
Definition at line 141 of file G4LogicalBorderSurface.cc.
144 if (theBorderSurfaceTable)
146 for (
size_t i=0; i<theBorderSurfaceTable->size(); i++)
148 if( ((*theBorderSurfaceTable)[i]->
GetVolume1() == vol1) &&
149 ((*theBorderSurfaceTable)[i]->GetVolume2() == vol2) )
150 return (*theBorderSurfaceTable)[i];
const G4VPhysicalVolume * GetVolume1() const
Definition at line 122 of file G4LogicalBorderSurface.cc.
124 if (!theBorderSurfaceTable)
128 return theBorderSurfaceTable;
std::vector< G4LogicalBorderSurface * > G4LogicalBorderSurfaceTable
The documentation for this class was generated from the following files: