Rework of injection of particles with a special focus in 2DCyl to ensure an homogeneous distribution. #51

Merged
JorgeGonz merged 22 commits from issue/injection2DCyl into development 2024-07-11 18:51:43 +02:00
Showing only changes of commit 6d62807fb4 - Show all commits

Remove testing 'print' statements

2DCyl still seems to have some problems but waiting for simulation.
Jorge Gonzalez 2024-07-11 14:50:14 +02:00

View file

@ -193,11 +193,7 @@ MODULE moduleInject
END IF END IF
print *, self%particlesPerEdge
print *, self%weightPerEdge
self%nParticles = SUM(self%particlesPerEdge) self%nParticles = SUM(self%particlesPerEdge)
print *, self%nParticles
!Scale particles for different species steps !Scale particles for different species steps
IF (self%nParticles == 0) CALL criticalError("The number of particles for inject is 0.", 'initInject') IF (self%nParticles == 0) CALL criticalError("The number of particles for inject is 0.", 'initInject')