#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 Index(theBorderSurfaceTable != nullptr ? theBorderSurfaceTable->size() : 0)
52{
53 if (theBorderSurfaceTable == nullptr)
54 {
56 }
57
58
59
60 theBorderSurfaceTable->insert(std::make_pair(std::make_pair(vol1,vol2),this));
61}
std::map< std::pair< const G4VPhysicalVolume *, const G4VPhysicalVolume * >, G4LogicalBorderSurface * > G4LogicalBorderSurfaceTable
◆ ~G4LogicalBorderSurface()
G4LogicalBorderSurface::~G4LogicalBorderSurface |
( |
| ) |
|
◆ G4LogicalBorderSurface() [2/2]
◆ CleanSurfaceTable()
void G4LogicalBorderSurface::CleanSurfaceTable |
( |
| ) |
|
|
static |
Definition at line 139 of file G4LogicalBorderSurface.cc.
140{
141 if (theBorderSurfaceTable != nullptr)
142 {
143 for(auto pos = theBorderSurfaceTable->cbegin();
144 pos != theBorderSurfaceTable->cend(); ++pos)
145 {
146 if (
pos->second) {
delete pos->second; }
147 }
148 theBorderSurfaceTable->clear();
149 }
150 return;
151}
◆ DumpInfo()
void G4LogicalBorderSurface::DumpInfo |
( |
| ) |
|
|
static |
Definition at line 119 of file G4LogicalBorderSurface.cc.
120{
121 G4cout <<
"***** Surface Table : Nb of Surfaces = "
123
124 if (theBorderSurfaceTable != nullptr)
125 {
126 for(auto pos = theBorderSurfaceTable->cbegin();
127 pos != theBorderSurfaceTable->cend(); ++pos)
128 {
131 << " Border of volumes "
134 }
135 }
137}
G4GLOB_DLL std::ostream G4cout
static std::size_t GetNumberOfBorderSurfaces()
const G4VPhysicalVolume * GetVolume2() const
const G4VPhysicalVolume * GetVolume1() const
const G4String & GetName() const
const G4String & GetName() const
◆ GetIndex()
std::size_t G4LogicalBorderSurface::GetIndex |
( |
| ) |
const |
|
inline |
◆ 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: