Files
karl/include/interactions/free_movement.h
T
2025-09-09 10:42:17 +02:00

25 lines
706 B
C++
Executable File

#ifndef FREE_MOVEMENT_H
#define FREE_MOVEMENT_H
#include "simulation/interaction.h"
#include "simulation/particle.h"
#include "simulation/random_numbers.h"
namespace interaction {
class FreeMovement : public Interaction {
public:
FreeMovement();
InteractionOutput performInteraction(particle::Particle& particle,
RandomNumbers* generator);
double microscopicCrossSection(double energy_eV, const Coordinate& position);
double macroscopicCrossSection(particle::Particle& particle);
double drawCollisionTime(particle::Particle& particle,
RandomNumbers* generator);
};
}; // namespace interaction
#endif /* FREE_MOVEMENT_H */