#include <G4RegionStore.hh>
Definition at line 63 of file G4RegionStore.hh.
G4RegionStore::G4RegionStore |
( |
| ) |
|
|
protected |
G4RegionStore::~G4RegionStore |
( |
| ) |
|
|
protectedvirtual |
void G4RegionStore::Clean |
( |
| ) |
|
|
static |
Definition at line 77 of file G4RegionStore.cc.
83 G4cout <<
"WARNING - Attempt to delete the region store"
84 <<
" while geometry closed !" <<
G4endl;
96 #ifdef G4GEOMETRY_VOXELDEBUG
97 G4cout <<
"Deleting Regions ... ";
100 for(iterator
pos=store->begin();
pos!=store->end(); ++
pos)
103 if (*
pos) {
delete *
pos; }
107 #ifdef G4GEOMETRY_VOXELDEBUG
108 if (store->size() < i-1)
109 {
G4cout <<
"No regions deleted. Already deleted by user ?" <<
G4endl; }
virtual void NotifyDeRegistration()=0
static G4RegionStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
static G4GeometryManager * GetInstance()
static const G4double pos
Definition at line 142 of file G4RegionStore.cc.
virtual void NotifyDeRegistration()=0
static G4RegionStore * GetInstance()
Definition at line 240 of file G4RegionStore.cc.
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
Definition at line 216 of file G4RegionStore.cc.
220 if ((*i)->GetName() ==
name) {
return *i; }
224 std::ostringstream message;
225 message <<
"Region NOT found in store !" <<
G4endl
226 <<
" Region " << name <<
" NOT found in store !" <<
G4endl
227 <<
" Returning NULL pointer.";
static G4RegionStore * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool G4RegionStore::IsModified |
( |
| ) |
const |
Definition at line 177 of file G4RegionStore.cc.
181 if ((*i)->IsModified()) {
return true; }
static G4RegionStore * GetInstance()
Definition at line 132 of file G4RegionStore.cc.
static G4RegionStore * GetInstance()
virtual void NotifyRegistration()=0
void G4RegionStore::ResetRegionModified |
( |
| ) |
|
Definition at line 191 of file G4RegionStore.cc.
195 (*i)->RegionModified(
false);
static G4RegionStore * GetInstance()
Definition at line 122 of file G4RegionStore.cc.
125 fgNotifier = pNotifier;
static G4RegionStore * GetInstance()
void G4RegionStore::SetWorldVolume |
( |
| ) |
|
Definition at line 255 of file G4RegionStore.cc.
260 { (*i)->SetWorld(0); }
266 size_t nPhys = fPhysicalVolumeStore->size();
267 for(
size_t iPhys=0; iPhys<nPhys; iPhys++)
275 { (*i)->SetWorld(fPhys); }
static G4PhysicalVolumeStore * GetInstance()
static G4RegionStore * GetInstance()
G4LogicalVolume * GetMotherLogical() const
Definition at line 203 of file G4RegionStore.cc.
207 if((*i)->IsInMassGeometry() || (*i)->IsInParallelGeometry() || currentWorld)
208 { (*i)->UpdateMaterialList(); }
static G4RegionStore * GetInstance()
The documentation for this class was generated from the following files: