Finished DCS_Ionization Container.

Removed Energy Cut off for T2+ Ions.
Tested Population loggers.
This commit is contained in:
Christian
2019-06-06 16:33:42 +02:00
parent 142197d10a
commit bd64d5390f
37 changed files with 11430 additions and 388 deletions
+18 -12
View File
@@ -23,8 +23,10 @@ class InteractionOut {
Particle new_particles[3];
int number_new_particles;
bool decrease_density;
vec3 delete_location;
bool decrease_population;
species decrease_species;
vec3 decrease_location;
public:
InteractionOut() {reset();};
@@ -32,26 +34,30 @@ public:
void reset() {
delete_current = false;
number_new_particles = 0;
decrease_density = false;
decrease_population = false;
}
void set_delete_current(const bool &delete_current) {this->delete_current = delete_current;}
bool get_delete_current() {return (delete_current);}
void add_new_particle(const Particle &newParticle) {
new_particles[number_new_particles] = newParticle;
number_new_particles++;
}
void set_delete_location (const vec3 &delete_location) {
this->delete_location = delete_location;
this->decrease_density = true;
}
bool get_delete_current() {return (delete_current);}
int get_number_new_particles() {return(number_new_particles);}
Particle *get_new_particles() {return(new_particles);}
bool get_delete_density() {return(decrease_density);}
vec3 get_delete_location() {return(delete_location);}
void set_decrease_location (const species &decrease_species, const vec3 &decrease_location) {
this->decrease_population = true;
this->decrease_species = decrease_species;
this->decrease_location = decrease_location;
}
bool get_decrease_population() {return decrease_population;}
species get_decrease_species() {return decrease_species;}
vec3 get_decrease_location() {return decrease_location;}
};