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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user