23 lines
564 B
C++
Executable File
23 lines
564 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);
|
|
|
|
private:
|
|
std::shared_ptr<species::TrackedSpecie> recombination_target_;
|
|
};
|
|
|
|
}; // namespace interaction
|
|
|
|
#endif /* RECOMBINATION_H */
|