Fixed Bug in recombination formular and added logging of particles hitting the RW.
This commit is contained in:
@@ -18,12 +18,18 @@
|
||||
Particle_Logger_Manager Particle_Logger_Builder::build(H5_File *h5f) {
|
||||
Particle_Logger_Manager ParticleLogger;
|
||||
H5_Particles *h5part = h5f->get_h5part();
|
||||
|
||||
double z_rw = z_RW_m;
|
||||
ParticleLogger.add(build_eLogger(h5part));
|
||||
ParticleLogger.add(new Off_Particle_Logger(tritium));
|
||||
ParticleLogger.add (new MultiZ_Particle_Logger(tritiumI, 1, &z_rw, h5part->get_h5g_z()));
|
||||
ParticleLogger.add (new MultiZ_Particle_Logger(tritium2I, 1, &z_rw, h5part->get_h5g_z()));
|
||||
ParticleLogger.add (new MultiZ_Particle_Logger(tritium3I, 1, &z_rw, h5part->get_h5g_z()));
|
||||
|
||||
/*
|
||||
ParticleLogger.add(new Off_Particle_Logger(tritiumI));
|
||||
ParticleLogger.add(new Off_Particle_Logger(tritium2I));
|
||||
ParticleLogger.add(new Off_Particle_Logger(tritium3I));
|
||||
*/
|
||||
return ParticleLogger;
|
||||
}
|
||||
|
||||
@@ -34,7 +40,7 @@ Particle_Logger_Base *Particle_Logger_Builder::build_eLogger(H5_Particles *h5par
|
||||
} else if(h5part->get_numberZBins() == -1){
|
||||
res = new SF_Particle_Logger(electron, h5part->get_h5g_z());
|
||||
} else {
|
||||
res = new MuliZ_Particle_Logger(electron, h5part->get_numberZBins(), h5part->get_zValues(), h5part->get_h5g_z());
|
||||
res = new MultiZ_Particle_Logger(electron, h5part->get_numberZBins(), h5part->get_zValues(), h5part->get_h5g_z());
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user