# SPDX-FileCopyrightText: 2023 CERN and the Allpix Squared authors
# SPDX-License-Identifier: MIT
#DESC checks that a warning is printed in cases the timestep is too coarse for impact ionization
[Allpix]
detectors_file = "detector.conf"
number_of_events = 0
random_seed = 0
[DepositionPointCharge]
model = "fixed"
source_type = "point"
position = 445um220um50um
number_of_charges = 1
# 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 = -110kV/cm/cm, -1000V/cm
[WeightingPotentialReader]
model = pad
[TransientPropagation]
log_level = DEBUG
temperature = 293K
charge_per_step = 1
multiplication_model = "okuto"
multiplication_threshold = 100kV/cm
#PASS (WARNING) [I:TransientPropagation:mydetector] Charge multiplication enabled with maximum timestep larger than 1ps\nThis might lead to unphysical gain values.