| Summary: | strange behaviour in optimization time when closing geometry | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | V.Hejny |
| Component: | geometry/solids | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | Vladimir.Grichine |
| Priority: | P2 | ||
| Version: | 3.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | http://ikp427.ikp.kfa-juelich.de/G4testSTT.tar.gz | ||
|
Description
V.Hejny
2001-06-01 02:49:12 CEST
This looks due to the current provisional strategy adopted in G4Tubs::CalculateExtent(). The behaviour is reproduced for G4Box geometry and is sensitive to the ratio of the mother/world dimensions. It should be considered by voxel optimisation experts. After investigation of the test case provided, it turns out that the observed behavior is due to the complexity of the geometry to determine the region to be voxelised. In this case, a rather 'dense' region of volumes is placed in a large world. The class G4LogicalVolume provides two functions GetSmartless()/SetSmartless(double) to help address such cases and tune a smartless parameter for voxelisation for specific volumes, in order to optimise the voxelisation process. For future improvements in the area of geometry optimisation we're planning to extend voxelisation in 3D space and automatically apply smartless to critical areas (like in this case). Thanks for the report. |