#ifndef CHARGE_EXCHANGE_H #define CHARGE_EXCHANGE_H #include #include "simulation/interaction.h" // defined in "simulation/species.h" namespace species { class Specie; }; namespace interaction { // class for charge exchange interactions e.g. T2+ + T2 --> T2 + T2+ // only for symmetric charge exchange processes (i.e. A+ + A --> A + A+) class ChargeExchange : public Interaction { public: // Constructor: takes the function describing the cross section (dependent on the energy of the incident particle) // and a shared_ptr to the Species that is the target in the interaction ChargeExchange(std::function cross_section, std::shared_ptr target); // return the result of the interaction as an InteractionOutput object InteractionOutput performInteraction(particle::Particle& particle, RandomNumbers* generator); }; }; // namespace interaction #endif /* CHARGE_EXCHANGE_H */