Removed drawing infrastructure
This commit is contained in:
@@ -150,6 +150,13 @@ void BorisMover::move(particle::Particle* particle,
|
||||
}
|
||||
|
||||
#ifdef debug_level3
|
||||
double new_mu;
|
||||
if (kinematic::norm(B) == 0) {
|
||||
new_mu = kinematic::cosPitchAngle(
|
||||
blitz::TinyVector<double, 3>(0,0,1), particle->velocity().cartesianEntries());
|
||||
} else {
|
||||
new_mu = kinematic::cosPitchAngle(B, particle->velocity().cartesianEntries());
|
||||
}
|
||||
if((changed_energy_bin || changed_position_bin) && !left_simulation_domain && !died_in_bin && (leftover_time > 0)) {
|
||||
std::stringstream out;
|
||||
out << "move(...) interrupted by change in ";
|
||||
@@ -163,7 +170,7 @@ void BorisMover::move(particle::Particle* particle,
|
||||
// out << "mu bin: ";
|
||||
// out << old_mu << " (old), " << new_mu;
|
||||
} else {
|
||||
out <<"unknown bin... " << changed_energy_bin << changed_position_bin << changed_mu_bin << left_simulation_domain << died_in_bin << leftover_time;
|
||||
out <<"unknown bin... " << changed_energy_bin << changed_position_bin << left_simulation_domain << died_in_bin << leftover_time;
|
||||
}
|
||||
out << "\n(gyroradius = " << particle->mass_kg()*std::sqrt(1-new_mu*new_mu)*particle->absoluteVelocity()/(particle->specie()->charge_C()*kinematic::norm(B)) << " m";
|
||||
out << " energy: " << particle->kineticEnergy_eV() <<" eV)";
|
||||
|
||||
Reference in New Issue
Block a user