Files
karl/include/interactions/recombination.h
T
csendlinger 9e3640210d Included possibility for electron as
target for recombination;
Added energy dependent deletions in recombination
2024-03-11 16:30:52 +01:00

26 lines
712 B
C++
Executable File

#ifndef RECOMBINATION_H
#define RECOMBINATION_H
#include "simulation/interaction.h"
namespace interaction {
class Recombination : public Interaction {
public:
Recombination(std::function<double(double)> cross_section,
std::shared_ptr<species::TrackedSpecie> target);
InteractionOutput performInteraction(particle::Particle& particle,
RandomNumbers* generator);
double macroscopicCrossSection(particle::Particle& particle);
private:
double macroscopicCrossSection(const Coordinate& position, const int bin_index);
std::shared_ptr<species::TrackedSpecie> recombination_target_;
};
}; // namespace interaction
#endif /* RECOMBINATION_H */