#include <G4LogicalBorderSurface.hh>
Definition at line 50 of file G4LogicalBorderSurface.hh.
◆ G4LogicalBorderSurface() [1/2]
Definition at line 44 of file G4LogicalBorderSurface.cc.
50 Volume1(vol1), Volume2(vol2)
51{
52 if (theBorderSurfaceTable == nullptr)
53 {
55 }
56
57
58
59 theBorderSurfaceTable->insert(std::make_pair(std::make_pair(vol1,vol2),this));
60}
std::map< std::pair< const G4VPhysicalVolume *, const G4VPhysicalVolume * >, G4LogicalBorderSurface * > G4LogicalBorderSurfaceTable
◆ ~G4LogicalBorderSurface()
G4LogicalBorderSurface::~G4LogicalBorderSurface |
( |
| ) |
|
◆ G4LogicalBorderSurface() [2/2]
◆ CleanSurfaceTable()
void G4LogicalBorderSurface::CleanSurfaceTable |
( |
| ) |
|
|
static |
Definition at line 138 of file G4LogicalBorderSurface.cc.
139{
140 if (theBorderSurfaceTable != nullptr)
141 {
142 for(auto pos = theBorderSurfaceTable->cbegin();
143 pos != theBorderSurfaceTable->cend(); ++pos)
144 {
145 if (
pos->second) {
delete pos->second; }
146 }
147 theBorderSurfaceTable->clear();
148 }
149 return;
150}
◆ DumpInfo()
void G4LogicalBorderSurface::DumpInfo |
( |
| ) |
|
|
static |
Definition at line 118 of file G4LogicalBorderSurface.cc.
119{
120 G4cout <<
"***** Surface Table : Nb of Surfaces = "
122
123 if (theBorderSurfaceTable != nullptr)
124 {
125 for(auto pos = theBorderSurfaceTable->cbegin();
126 pos != theBorderSurfaceTable->cend(); ++pos)
127 {
130 << " Border of volumes "
133 }
134 }
136}
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfBorderSurfaces()
const G4VPhysicalVolume * GetVolume2() const
const G4VPhysicalVolume * GetVolume1() const
const G4String & GetName() const
const G4String & GetName() const
◆ GetNumberOfBorderSurfaces()
std::size_t G4LogicalBorderSurface::GetNumberOfBorderSurfaces |
( |
| ) |
|
|
static |
◆ GetSurface()
◆ GetSurfaceTable()
◆ GetVolume1()
◆ GetVolume2()
◆ operator!=()
◆ operator=()
◆ operator==()
◆ SetPhysicalVolumes()
◆ SetVolume1()
◆ SetVolume2()
The documentation for this class was generated from the following files: