--------------------------------------------------------------------
| 370 | |
| 371 | // -------------------------------------------------------------------- |
| 372 | void G4RunManagerKernel::WorkerUpdateWorldVolume() |
| 373 | { |
| 374 | G4MTRunManager* masterRM = G4MTRunManager::GetMasterRunManager(); |
| 375 | G4TransportationManager* transM = G4TransportationManager::GetTransportationManager(); |
| 376 | G4MTRunManager::masterWorlds_t masterWorlds = masterRM->GetMasterWorlds(); |
| 377 | for (const auto& masterWorld : masterWorlds) { |
| 378 | G4VPhysicalVolume* wv = masterWorld.second; |
| 379 | G4VPhysicalVolume* pWorld = |
| 380 | G4TransportationManager::GetTransportationManager()->IsWorldExisting(wv->GetName()); |
| 381 | if (pWorld == nullptr) { |
| 382 | transM->RegisterWorld(wv); |
| 383 | } |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | // -------------------------------------------------------------------- |
| 388 | void G4RunManagerKernel::WorkerDefineWorldVolume(G4VPhysicalVolume* worldVol, |
no test coverage detected