Added vibrational excitation 0->1, 0->2

Previous commit was incomplete.
This commit is contained in:
Christian
2019-06-23 16:47:57 +02:00
parent 599d70c65d
commit ebef3d8cdd
4 changed files with 204 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
//
// janev_eT2_vibexc0102.h
// mc_electron
//
// Created by Christian Reiling on 18.06.19.
// Copyright © 2019 Christian Reiling. All rights reserved.
//
#ifndef janev_eT2_vibexc0102_h
#define janev_eT2_vibexc0102_h
#include "error_types.h"
class Janev_eT2_VibExc0102 {
public:
Janev_eT2_VibExc0102() {}
static double get_TCS(const double &E_eV, const int &finale_state) {
if (E_eV<get_deltaE_eV(finale_state)) {
return (0);
}
double xi = get_xi(finale_state);
double deltaE_eV = get_deltaE_eV(finale_state);
double x = E_eV/deltaE_eV;
double fac1 = 5.78*xi*pow(deltaE_eV,-4)*pow(x,-2);
double fac2 = pow(1-1/x, 6.11*pow(deltaE_eV,-0.5));
return fac1*fac2*1e-20;
}
static double get_deltaE_eV(const int &finale_state) {
if (finale_state == 1) {
return (0.516);
} else if (finale_state == 2) {
return (1.003);
}
std::stringstream ss;
ss<<"Janev_eT2_Recombination:get_deltaE_eV: finale_state != 1,2 \n";
throw MyException(ss.str());
}
private:
static double get_xi(const int &finale_state) {
if (finale_state == 1) {
return (1);
} else if (finale_state == 2) {
return (0.628);
}
std::stringstream ss;
ss<<"Janev_eT2_Recombination:get_xi: finale_state != 1,2 \n";
throw MyException(ss.str());
}
};
#endif /* janev_eT2_vibexc0102_h */