Major changes:
- Added individul operators for species and better selecting process. - Switched to C arrays for main loop operations and calculating array indizes using knowledge of binning instead of doing sorted search - Added Recombination - Reworked elastic scattering kinematics - Added inelastic scattering kinematics
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// mover_base.h
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 16.05.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef mover_base_h
|
||||
#define mover_base_h
|
||||
|
||||
#include "process_base.h"
|
||||
#include "katrin_geo.hpp"
|
||||
#include "katrin_fields.hpp"
|
||||
#include "particle.hpp"
|
||||
|
||||
#include "population_base.h"
|
||||
#include "particle_logger_base.h"
|
||||
|
||||
|
||||
class Mover_Base : public Process_Base {
|
||||
protected:
|
||||
Particle_Logger_Base *Logger;
|
||||
Population_Base *Population;
|
||||
|
||||
public:
|
||||
Mover_Base(species this_species, Particle_Logger_Base *Logger, Population_Base *Population) : Process_Base(this_species) {
|
||||
this->Logger = Logger;
|
||||
this->Population = Population;
|
||||
}
|
||||
|
||||
virtual void move(Particle *movePart, const double &distance_m) = 0;
|
||||
};
|
||||
|
||||
|
||||
#endif /* mover_base_h */
|
||||
Reference in New Issue
Block a user