| Summary: | Cannot add more than 16 Scoring Meshes | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Petr Stepanov <stepanovps> |
| Component: | processes/scoring | Assignee: | asai |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | stepanovps |
| Priority: | P4 | ||
| Version: | 10.6 | ||
| Hardware: | Apple | ||
| OS: | Linux | ||
| URL: | https://geant4-forum.web.cern.ch/t/cannot-add-more-than-16-scoring-meshes/5465 | ||
|
Description
Petr Stepanov
2021-06-23 03:31:08 CEST
16 is not necessarily the exact limit, but we do not expect to have unlimited number of parallel worlds. If your meshes are not overlapping to each other, I suggest you to implement such meshes in one parallel world. It would be much better in computing performance. Hi, thanks for your reply. In order to implement the meshes we used the approach described in the following Geant4 example: https://github.com/Geant4/geant4/blob/master/examples/extended/runAndEvent/RE03/run1.mac Our meshes are not overlapping with each other. Can you please clarify how to define all the meshes in one parallel world? And why by default meshes are defined in parallel worlds? Below is a piece of the code used to create the meshes: ######################################## # /score/create/boxMesh boxMesh_1 # /score/mesh/boxSize 30. 30. 1. cm /score/mesh/translate/xyz 0. 0. -80. cm /score/mesh/nBin 20 20 20 # /score/quantity/nOfStep nOfStepGamma /score/filter/particle gammaFilter gamma # /score/close # ######################################## # /score/create/boxMesh boxMesh_2 # /score/mesh/boxSize 30. 30. 1. cm /score/mesh/translate/xyz 0. 0. -75. cm /score/mesh/nBin 20 20 20 # /score/quantity/nOfStep nOfStepGamma /score/filter/particle gammaFilter gamma # /score/close # ######################################## ...<more meshes defined the same way> |