JuliaPhysics / JuliaPhysics/SolidStateDetectors.jl

Support multithreading for charge drift simulation

Open
#495 3 comments 0 reactions 0 assignees View on GitHub
convenience enhancement performance
Dominant language
Julia
Stars
178
Forks
59
Avg merge
1d 20h
Merged PRs (30d)
4

Description

When simulating the drift of a charge cloud with

``` Julia
drift_charges!(evt, sim, Δt = time_step, max_nsteps = 50,diffusion = true, self_repulsion = true, verbose=true)

simulate!(evt, sim)

```

I don't see any improvement on the performance by previously setting

``` Bash
export JULIA_NUM_THREADS=10

```
to 10, 1 or any other number of threads. I do get a faster calculation in the case of the potential and weighting potential calculation, but not here. Is there any extra argument or step that I am missing?

Right now I am getting rates of 1 event/second for a highly segmented detector. As you can imagine, simulating 1E6 events becomes painfully slow...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.