#include <G4LogicalBorderSurface.hh>
Definition at line 49 of file G4LogicalBorderSurface.hh.
◆ G4LogicalBorderSurface() [1/2]
Definition at line 43 of file G4LogicalBorderSurface.cc.
49 Volume1(vol1), Volume2(vol2),
50 Index(theBorderSurfaceTable != nullptr ? theBorderSurfaceTable->size() : 0)
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
G4LogicalSurface(const G4LogicalSurface &)=delete
◆ ~G4LogicalBorderSurface()
G4LogicalBorderSurface::~G4LogicalBorderSurface |
( |
| ) |
|
|
overridedefault |
◆ G4LogicalBorderSurface() [2/2]
◆ CleanSurfaceTable()
void G4LogicalBorderSurface::CleanSurfaceTable |
( |
| ) |
|
|
static |
Definition at line 137 of file G4LogicalBorderSurface.cc.
138{
139 if (theBorderSurfaceTable != nullptr)
140 {
141 for(const auto & pos : *theBorderSurfaceTable)
142 {
144 }
145 theBorderSurfaceTable->clear();
146 }
147 return;
148}
◆ DumpInfo()
void G4LogicalBorderSurface::DumpInfo |
( |
| ) |
|
|
static |
Definition at line 117 of file G4LogicalBorderSurface.cc.
118{
119 G4cout <<
"***** Surface Table : Nb of Surfaces = "
121
122 if (theBorderSurfaceTable != nullptr)
123 {
124 for(const auto & pos : *theBorderSurfaceTable)
125 {
128 << " Border of volumes "
131 }
132 }
134}
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: