Added Mover for zero magnetic field

This commit is contained in:
2024-10-18 15:37:01 +02:00
parent 9e50d8bdcf
commit cbf95aceb6
4 changed files with 906 additions and 0 deletions
+14
View File
@@ -47,4 +47,18 @@ class DriftMover : public Mover {
const blitz::TinyVector<double, 3>& electric_field) const;
};
// Mover for the case of 0 magnetic field. Simply ignores electric and magnetic field
// for the movement step, i.e. velocity doesn't change.
class EulerMover : public Mover {
public:
EulerMover(double maximal_distance);
void move(particle::Particle* particle,
double mfp_m,
ElectricField* electric_field,
MagneticField* magnetic_field);
private:
const double maximal_distance_m_;
};
#endif /* MOVER_H */