Hotfix Drift Mover
This commit is contained in:
@@ -344,7 +344,7 @@ void DriftMover::move(particle::Particle* particle,
|
||||
const blitz::TinyVector<double, 3> dv_electric = timestep *
|
||||
particle->charge_C() * force_over_charge_parallel / particle->mass_kg();
|
||||
|
||||
if (v_perp_norm > SimConstants::compare_epsilon) {
|
||||
if (v_perp_norm/v_parallel_norm > SimConstants::compare_epsilon) {
|
||||
const double gyro_radius = particle->mass_kg() * v_perp_norm /
|
||||
(B_norm * particle->charge_C());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user