Loading src/modules/TransientPropagation/TransientPropagationModule.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -364,7 +364,7 @@ void TransientPropagationModule::run(Event* event) { if(state == CarrierState::RECOMBINED) { recombined_charges_count += charge_per_step; if(output_plots_) { recombination_time_histo_->Fill(static_cast<double>(Units::convert(time, "ns")), charge_per_step); recombination_time_histo_->Fill(time, charge_per_step); } } else if(state == CarrierState::TRAPPED) { trapped_charges_count += charge_per_step; Loading Loading @@ -529,7 +529,7 @@ TransientPropagationModule::propagate(Event* event, // Check if the charge carrier has been trapped: if(trapping_(type, uniform_distribution(event->getRandomEngine()), timestep_, std::sqrt(efield.Mag2()))) { if(output_plots_) { trapping_time_histo_->Fill(static_cast<double>(Units::convert(runge_kutta.getTime(), "ns")), charge); trapping_time_histo_->Fill(runge_kutta.getTime(), charge); } auto detrap_time = detrapping_(type, uniform_distribution(event->getRandomEngine()), std::sqrt(efield.Mag2())); Loading Loading
src/modules/TransientPropagation/TransientPropagationModule.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -364,7 +364,7 @@ void TransientPropagationModule::run(Event* event) { if(state == CarrierState::RECOMBINED) { recombined_charges_count += charge_per_step; if(output_plots_) { recombination_time_histo_->Fill(static_cast<double>(Units::convert(time, "ns")), charge_per_step); recombination_time_histo_->Fill(time, charge_per_step); } } else if(state == CarrierState::TRAPPED) { trapped_charges_count += charge_per_step; Loading Loading @@ -529,7 +529,7 @@ TransientPropagationModule::propagate(Event* event, // Check if the charge carrier has been trapped: if(trapping_(type, uniform_distribution(event->getRandomEngine()), timestep_, std::sqrt(efield.Mag2()))) { if(output_plots_) { trapping_time_histo_->Fill(static_cast<double>(Units::convert(runge_kutta.getTime(), "ns")), charge); trapping_time_histo_->Fill(runge_kutta.getTime(), charge); } auto detrap_time = detrapping_(type, uniform_distribution(event->getRandomEngine()), std::sqrt(efield.Mag2())); Loading