25 lines
550 B
C++
Executable File
25 lines
550 B
C++
Executable File
#ifndef CHARGE_EXCHANGE_H
|
|
#define CHARGE_EXCHANGE_H
|
|
|
|
#include <functional>
|
|
#include "simulation/interaction.h"
|
|
|
|
namespace species {
|
|
class Specie;
|
|
};
|
|
|
|
namespace interaction {
|
|
|
|
class ChargeExchange : public Interaction {
|
|
public:
|
|
ChargeExchange(std::function<double(double)> cross_section,
|
|
std::shared_ptr<species::Specie> target);
|
|
|
|
InteractionOutput performInteraction(particle::Particle& particle,
|
|
RandomNumbers* generator);
|
|
};
|
|
|
|
}; // namespace interaction
|
|
|
|
#endif /* CHARGE_EXCHANGE_H */
|