Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
+6
View File
@@ -6,18 +6,24 @@
#include "simulation/particle.h"
#include "simulation/random_numbers.h"
// defined in "simulation/species.h"
namespace species {
class Specie;
};
namespace interaction {
// class for handling processes consisting of the excitation (rotational, vibrational or
// electronic) of the target particle (e.g. A + B --> A + B*)
class Excitation : public Interaction {
public:
// Constructor: takes the function for the cross section, a shared_ptr to the Specie of the
// the threshold energy of the specific excitation type
Excitation(std::function<double(double)> cross_section,
std::shared_ptr<species::Specie> target,
double excitation_energy_eV);
// return the output of the interaction as an InteractionOutput object
InteractionOutput performInteraction(particle::Particle& particle,
RandomNumbers* generator);