Included pitch angle binning in the json file;
minor changes to debug output
This commit is contained in:
@@ -500,12 +500,12 @@ std::vector<particle::Particle> Simulation::determineInjectedDensityParticles(
|
||||
DEBUG_LEVEL_3("No particles in density of species: " + pair.second->name());
|
||||
continue;
|
||||
}
|
||||
if (current == 0 || true) {
|
||||
if (current == 0) {
|
||||
std::stringstream out;
|
||||
out << pair.second->name();
|
||||
out << "difference: ";
|
||||
out << std::fabs(particleNumberFromDensity_ - particleNumberFromDensity)/particleNumberFromDensity;
|
||||
DEBUG_LEVEL_0(out.str());
|
||||
DEBUG_LEVEL_3(out.str());
|
||||
}
|
||||
injector_->rollNewParticleFromDensityField(random->engine(),
|
||||
pair.second,
|
||||
|
||||
Reference in New Issue
Block a user