Readded density reduction by interaction for test
This commit is contained in:
@@ -31,6 +31,9 @@ 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) {
|
||||
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());
|
||||
|
||||
Reference in New Issue
Block a user