small fixes and cosmetic changes
This commit is contained in:
@@ -128,7 +128,10 @@ void Simulation::start() {
|
||||
|
||||
const double delta_t = time_resolution_events*injector_->timePassed();
|
||||
|
||||
if(delta_t != timer_->getDeltaT()) {
|
||||
// if delta_t of the timer after creation and potential restart is 0, then
|
||||
// it's indicative of no restart having occured (a simulation with a delta_t
|
||||
// of 0 would not be sensible)
|
||||
if(timer_->getDeltaT() != 0 && delta_t != timer_->getDeltaT()) {
|
||||
std::stringstream out;
|
||||
out << "Old delta t: " << timer_->getDeltaT();
|
||||
out << "; new delta t: " << delta_t;
|
||||
@@ -448,7 +451,6 @@ std::vector<particle::Particle> Simulation::determineInjectedDensityParticles(
|
||||
}
|
||||
if (current == 0) {
|
||||
DEBUG_LEVEL_0("particle number " + pair.second->name() + ": " + std::to_string(particleNumberDensity));
|
||||
// DEBUG_LEVEL_0("weight: " + std::to_string(particleNumberDensity/numberParticlesToDraw));
|
||||
}
|
||||
injector_->rollNewParticleFromDensityField(random->engine(),
|
||||
pair.second,
|
||||
|
||||
Reference in New Issue
Block a user