Commit bbdbb253 authored by Paul Schütze's avatar Paul Schütze
Browse files

Merge branch 'fix_mt_transient' into 'master'

TransientPropagation: Fix Miltuthreading when Writing Linegraphs

See merge request allpix-squared/allpix-squared!978
parents 156e3fad e357609a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -30,8 +30,6 @@ TransientPropagationModule::TransientPropagationModule(Configuration& config,
                                                       Messenger* messenger,
                                                       std::shared_ptr<Detector> detector)
    : Module(config, detector), messenger_(messenger), detector_(std::move(detector)) {
    // Enable multithreading of this module if multithreading is enabled
    allow_multithreading();

    // Save detector model
    model_ = detector_->getModel();
+30 −0
Original line number Diff line number Diff line
# SPDX-FileCopyrightText: 2023 CERN and the Allpix Squared authors
# SPDX-License-Identifier: MIT

#DESC uses the Runge-Kutta-Fehlberg integration of the equations of motion implemented in the drift-diffusion model to propagate the charge carriers to the implants. The total induced charge is monitored.
detectors_file = "detector.conf"
number_of_events = 1
multithreading = true
random_seed = 0

[DepositionPointCharge]
model = "fixed"
source_type = "point"
position = 445um 220um 0um
number_of_charges = 20

# We use a custom field here to not trigger the warning about linear fields being inappropriate
[ElectricFieldReader]
model = "custom"
field_function = "[0]*z + [1]"
field_parameters = -3750V/cm/cm, -1000V/cm

[WeightingPotentialReader]
model = pad

[TransientPropagation]
temperature = 293K
output_linegraphs = true

#PASS (ERROR) Multithreading disabled since the current module configuration does not support it
#FAIL FATAL