Corrected errors in Movers; added number of
mpi procs to output
This commit is contained in:
@@ -35,9 +35,12 @@ class BorisMover : public Mover {
|
||||
|
||||
// single update step of the Boris push algorithm
|
||||
// updates moved_distance by the distance the particle moved during the update step
|
||||
// the electric_field and magnetic_field TinyVectors have to contain the electric and
|
||||
// magnetic fields in Cartesian coordinates
|
||||
void movementStep(particle::Particle* particle,
|
||||
const blitz::TinyVector<double, 3>& electric_field,
|
||||
const blitz::TinyVector<double, 3>& magnetic_field,
|
||||
const double timestep,
|
||||
double& moved_distance) const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user