Electric field only used at the position at the beginning of the timestep,

the magnetic field is not changed since its value does not depend on the
particles;
Added a reflector for both ends of the cylinder
This commit is contained in:
2026-01-27 14:19:44 +01:00
parent 32521298d4
commit 0a843f0a4c
8 changed files with 88 additions and 3 deletions
+2
View File
@@ -127,6 +127,8 @@ blitz::Array<double, 2> CurrentCollector::createCrossingsAzimuthal(
return crossings_azimuthal;
}
// old_position should be a CartesianCoordinate, since the cartesian entries are needed
// for the Azimuthal collection and a transformation from cylinder -> cartesian is not possible
void CurrentCollector::collect(particle::Particle* particle,
const Coordinate& old_position) {
blitz::TinyVector<int, 2> bin_old =