Recombination Test Code

This commit is contained in:
Joachim Rupp
2021-03-09 15:51:17 +01:00
parent a1ef34ea94
commit 4d73f372f3
23 changed files with 827 additions and 86 deletions
+5 -2
View File
@@ -28,11 +28,14 @@ public:
void increase_density (const Particle &upPart, const vec3 &oldLoc_m) {container.increase_cum_time_s(oldLoc_m, upPart.get_x_m(), calc_vec3_abs(upPart.get_v_ms()), upPart.get_E_eV());}
void decrease_denisty (const vec3 &loc_m, const double &E_eV) {
std::cout<<"THermal POP"<<"\n";
container.increase_offset(loc_m, E_eV);
}
double get_density_m3(const vec3 &loc_m) {return container.get_density_m3(loc_m, 0, timer->get_time_s());}
double get_density_m3(const vec3 &loc_m) {
//std::cout << "get denistiy in thermal pop wird benutzt?"<< "\n"; //ja wird benutzt
//std::cout << "dichte von der thermal pop: "<<container.get_density_m3(loc_m, 0, timer->get_time_s())<<"\n";
return container.get_density_m3(loc_m, 0, timer->get_time_s());}
double get_density_m3(const int &E_bin, const Bins &loc_bins) {throw MyException("Should not be called.\n.");}
int get_number_E_bins() {return 1;}