Modification to Probes to use all particles

Now, probes check all particles in the domain.
This is done only when probes are outputed to save CPU time.
However, still some issues and distribution functions are not properly
being calculated.
This commit is contained in:
Jorge Gonzalez 2021-10-18 16:00:28 +02:00
commit e683c66ff8
4 changed files with 132 additions and 83 deletions

View file

@ -55,6 +55,9 @@ PROGRAM fpakc
!Checks if a species needs to me moved in this iteration
CALL solver%updatePushSpecies(t)
!Checks if probes need to be calculated this iteration
CALL resetProbes(t)
tPush = omp_get_wtime()
!$OMP END SINGLE
@ -85,9 +88,6 @@ PROGRAM fpakc
!$OMP SINGLE
tCoul = omp_get_wTime() - tCoul
!Do probing
CALL doProbes(t)
!Reset particles
tReset = omp_get_wtime()
!$OMP END SINGLE