Rework of injection of particles with a special focus in 2DCyl to ensure an homogeneous distribution. #51
1 changed files with 0 additions and 4 deletions
Remove testing 'print' statements
2DCyl still seems to have some problems but waiting for simulation.
commit
6d62807fb4
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue