GeoModelHelpers -- Introduce cloneVolume
Introduce new function to clone physical volumes.
- If a fullphysical volume in the subtree is detected, then a clone of the volume is made
- Otherwise, it's steered via the boolean argument
The question is what are we doing with the clone methods of the GeoPhysVol & the GeoFullPhysVol. They don't have this detection mechanism. I'd propose to remove them
Merge request reports
Activity
I don't think we have
clone()
method for regular physical volumes. As for full physical volumes, this method simply makes a clone without checking whether it contains another full physical volume in the subtree or not.Your implementation seems to be more involved, so I'm OK with dropping the old one.
- Resolved by Johannes Junggeburth
Is it critical for 5.2.0? If not, then I'd first merge !288 (merged) (assuming the pipeline finally succeeds), make 5.2.0 from it, and then merge this one.
If it is critical for 5.2.0, then I'd still first merge !288 (merged), then rebase this one on GeoModel main, rerun the pipeline with all recently added tests, and merge only when the pipeline succeeds.
OK?
mentioned in commit 4dcef060