29 lines
952 B
C++
Executable File
29 lines
952 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 for dummy interaction "free movement" (i.e. no interaction)
|
|
class FreeMovement : public Interaction {
|
|
public:
|
|
// Constructor: does not need anything
|
|
FreeMovement();
|
|
// return the result of the interaction as an InteractionOutput object
|
|
InteractionOutput performInteraction(particle::Particle& particle,
|
|
RandomNumbers* generator);
|
|
|
|
// return the value of the cross section at the given energy (eV) (units: m^2)
|
|
double microscopicCrossSection(double energy_eV, const Coordinate& position);
|
|
// return the density scaled cross section value for the energy of the
|
|
// Particle (units m^{-1})
|
|
double macroscopicCrossSection(particle::Particle& particle);
|
|
};
|
|
|
|
}; // namespace interaction
|
|
|
|
#endif /* FREE_MOVEMENT_H */
|