From 194d3eaf772a00fd2418fdce212334b294a7f895 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 9 Jul 2019 15:46:36 +0200 Subject: [PATCH] Fixing type in formular, leading to ridicoulous large exciation cross section and therefore destroying simulation with excitation. --- src/mc_electron/janev_eT2_elexc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mc_electron/janev_eT2_elexc.h b/src/mc_electron/janev_eT2_elexc.h index 5c0d13a..7d62deb 100644 --- a/src/mc_electron/janev_eT2_elexc.h +++ b/src/mc_electron/janev_eT2_elexc.h @@ -165,7 +165,7 @@ public: return 0; } double x = E_eV/deltaE_eV; - return A*pow(x,3)*pow(1-pow(x,-beta),gamma) * pow(10,-20); + return A*pow(x,-3)*pow(1-pow(x,-beta),gamma) * pow(10,-20); } double get_deltaE_eV () {return deltaE_eV;}