78 G4cout <<
"WARNING - Attempt to delete the region store"
79 <<
" while geometry closed !" <<
G4endl;
91 #ifdef G4GEOMETRY_VOXELDEBUG
92 G4cout <<
"Deleting Regions ... ";
95 for(
auto pos=store->cbegin();
pos!=store->cend(); ++
pos)
101 #ifdef G4GEOMETRY_VOXELDEBUG
102 if (store->size() < i-1)
103 {
G4cout <<
"No regions deleted. Already deleted by user ?" <<
G4endl; }
175 if ((*i)->IsModified()) {
return true; }
189 (*i)->RegionModified(
false);
201 if((*i)->IsInMassGeometry() || (*i)->IsInParallelGeometry()
202 || (currentWorld !=
nullptr))
203 { (*i)->UpdateMaterialList(); }
215 if ((*i)->GetName() ==
name) {
return *i; }
220 message <<
"Region NOT found in store !" <<
G4endl
221 <<
" Region " << name <<
" NOT found in store !" <<
G4endl
222 <<
" Returning NULL pointer.";
238 if (target ==
nullptr)
255 { (*i)->SetWorld(
nullptr); }
261 size_t nPhys = fPhysicalVolumeStore->size();
262 for(
size_t iPhys=0; iPhys<nPhys; ++iPhys)
270 { (*i)->SetWorld(fPhys); }