fix in density calculation
This commit is contained in:
@@ -237,7 +237,7 @@ void DriftMover::move(particle::Particle* particle,
|
||||
|
||||
if (v_perp_norm > SimConstants::compare_epsilon) {
|
||||
const double gyro_radius = particle->mass_kg() * v_perp_norm /
|
||||
(B_norm * std::abs(particle->charge_C()));
|
||||
(B_norm * particle->charge_C());
|
||||
|
||||
const blitz::TinyVector<double, 3> velocity_normal =
|
||||
(-1) * blitz::cross(B, v_perp);
|
||||
|
||||
Reference in New Issue
Block a user