51 G4bool G4RegionStore::locked =
false;
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; }
125 fgNotifier = pNotifier;
167 fgInstance = &worldStore;
181 if ((*i)->IsModified()) {
return true; }
195 (*i)->RegionModified(
false);
207 if((*i)->IsInMassGeometry() || (*i)->IsInParallelGeometry() || currentWorld)
208 { (*i)->UpdateMaterialList(); }
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.";
260 { (*i)->SetWorld(0); }
266 size_t nPhys = fPhysicalVolumeStore->size();
267 for(
size_t iPhys=0; iPhys<nPhys; iPhys++)
275 { (*i)->SetWorld(fPhys); }