Added v_flow as paramter to deactivate flow data or set const value.

This commit is contained in:
Christian
2019-09-19 12:57:07 +02:00
parent 5003a9e7d8
commit e54354d91d
10 changed files with 129 additions and 81 deletions
-4
View File
@@ -19,13 +19,11 @@
class InteractionOut {
bool delete_current;
Particle new_particles[3];
int number_new_particles;
public:
InteractionOut() {reset();};
void reset() {
delete_current = false;
number_new_particles = 0;
@@ -33,7 +31,6 @@ public:
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++;
@@ -63,7 +60,6 @@ private:
public:
virtual InteractionOut do_Interaction (Particle *interPart) = 0;
protected:
vec3 get_vOff_ms(const Particle &interPart, const double &minE_eV);
};