Version 2, position dependent E/B, kinetic ions, boris mover, terminator
This commit is contained in:
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#ifndef ELASTIC_SCATTERING_H
|
||||
#define ELASTIC_SCATTERING_H
|
||||
|
||||
#include "simulation/interaction.h"
|
||||
|
||||
class ScatteringAngleDistribution;
|
||||
|
||||
namespace interaction {
|
||||
|
||||
class ElasticScattering : public Interaction {
|
||||
public:
|
||||
ElasticScattering(std::function<double(double)> cross_section,
|
||||
std::shared_ptr<species::Specie> target,
|
||||
std::shared_ptr<ScatteringAngleDistribution> theta_distrib);
|
||||
|
||||
InteractionOutput performInteraction(particle::Particle& particle,
|
||||
RandomNumbers* generator);
|
||||
|
||||
private:
|
||||
std::shared_ptr<ScatteringAngleDistribution> theta_distrib_;
|
||||
};
|
||||
|
||||
}; // namespace interaction
|
||||
|
||||
#endif /* ELASTIC_SCATTERING_H */
|
||||
Reference in New Issue
Block a user