Added some recombination and cluster formation channels.
Changed Parameter names to be more consistent.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// TIT2_radasc.h
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 08.10.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef TIT2_radasc_h
|
||||
#define TIT2_radasc_h
|
||||
|
||||
#include "sub_interaction_base.h"
|
||||
// CS from Plasil:2012
|
||||
|
||||
class TIT2_RadAsc : public Sub_Interaction_Base {
|
||||
|
||||
public:
|
||||
TIT2_RadAsc(Population_Base *T2Population, UniRNG *rngUni) : Sub_Interaction_Base(T2Population, rngUni) {};
|
||||
|
||||
double get_microSigma_m2(const double &E_eV, const vec3 &loc_m) {
|
||||
double v_ms = calc_v_ms_from_E_eV(E_eV, mT_eV);
|
||||
return 5e-23/v_ms;
|
||||
}
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
};
|
||||
|
||||
inline InteractionOut TIT2_RadAsc::do_Interaction (Particle *interPart) {
|
||||
InteractionOut InterOut;
|
||||
vec3 loc_m = interPart->get_x_m();
|
||||
vec3 v2_ms = Population->roll_v_ms(loc_m);
|
||||
Particle T3INew = Particle_Builder::create_T3I(loc_m, v2_ms, -1, interPart->get_Id());
|
||||
|
||||
InterOut.add_new_particle(T3INew);
|
||||
InterOut.set_delete_current(true);
|
||||
return InterOut;
|
||||
}
|
||||
|
||||
|
||||
#endif /* TIT2_radasc_h */
|
||||
Reference in New Issue
Block a user