48 G4bool G4PhysicalVolumeStore::locked =
false;
80 G4cout <<
"WARNING - Attempt to delete the physical volume store"
81 <<
" while geometry closed !" <<
G4endl;
93 std::vector<G4VPhysicalVolume*>::iterator pos;
95 #ifdef G4GEOMETRY_VOXELDEBUG
96 G4cout <<
"Deleting Physical Volumes ... ";
99 for(pos=store->begin(); pos!=store->end(); pos++)
102 if (*pos) {
delete *pos; }
106 #ifdef G4GEOMETRY_VOXELDEBUG
107 if (store->size() < i-1)
108 {
G4cout <<
"No volumes deleted. Already deleted by user ?" <<
G4endl; }
124 fgNotifier = pNotifier;
169 if ((*i)->GetName() ==
name) {
return *i; }
173 std::ostringstream message;
174 message <<
"Volume NOT found in store !" <<
G4endl
175 <<
" Volume " << name <<
" NOT found in store !" <<
G4endl
176 <<
" Returning NULL pointer.";
192 fgInstance = &worldStore;