Many, many more comments
This commit is contained in:
@@ -7,12 +7,16 @@ class ScatteringAngleDistribution;
|
||||
|
||||
namespace interaction {
|
||||
|
||||
// class for handling elastic scattering interactions (A + B --> A + B)
|
||||
class ElasticScattering : public Interaction {
|
||||
public:
|
||||
// Constructor: takes a function for the cross section, a shared_ptr with the Specie of the target of the interaction
|
||||
// and a shared_ptr to a scatteringAngleDistribution object
|
||||
ElasticScattering(std::function<double(double)> cross_section,
|
||||
std::shared_ptr<species::Specie> target,
|
||||
std::shared_ptr<ScatteringAngleDistribution> theta_distrib);
|
||||
|
||||
// return the interaction outcome as an InteractionOutput object
|
||||
InteractionOutput performInteraction(particle::Particle& particle,
|
||||
RandomNumbers* generator);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user