JuliaPhysics / SolidStateDetectors.jl

Solid state detector field and charge drift simulation in Julia
Other
82 stars 32 forks source link

Enhance support for symmetries in potential calculation #215

Open lmh91 opened 3 years ago

lmh91 commented 3 years ago

Right the user is able to define the world in the config file. Symmetries can be used there. For example mirror symmetries.

The issue is that the symmetries might differ for different things to simulate. For example, the example coax detector has in general a periodicity of 60° in φ. In addition, within this period, it has a mirror symmetry. Thus, the electric potential only needs to be calculated on the interval [0°, 30°] (with reflecting boundary conditions in φ).

However, this is not possible for the weighting potentials of individual segments. Those, in this case, have only a mirror symmetry but not a periodicity. Thus, they are calculated over 360°. It could be reduced to [x°, x°+180°].

For this we need to add support for defining those symmetries in the configuration files for each individual contact.

fhagemann commented 3 years ago

Concerning this: can we handle stuff like ConeMantle going from -30° to 30°? The angle in CylindricalPoint always goes from to 360°, so I guess a point at 350° will return false when checking if it is in [-30°, 30°].