Files
karl/include/interactions/cluster_formation.h
T

28 lines
692 B
C++
Executable File

#ifndef CLUSTER_FORMATION_H
#define CLUSTER_FORMATION_H
#include <functional>
#include "simulation/interaction.h"
namespace species {
class Specie;
};
namespace interaction {
class ClusterFormation : public Interaction {
public:
ClusterFormation(std::function<double(double)> cross_section,
std::shared_ptr<species::Specie> target,
std::shared_ptr<species::TrackedSpecie> product);
InteractionOutput performInteraction(particle::Particle& particle,
RandomNumbers* generator);
private:
std::shared_ptr<species::TrackedSpecie> product_;
};
}; // namespace interaction
#endif /* CLUSTER_FORMATION_H */