Doxygen Generated Documentation From Interface Source Code
Particles_getGlobalNum.F90 File Reference

Go to the source code of this file.


subroutine Particles_getGlobalNum (globalNumParticles)

Function/Subroutine Documentation

◆ Particles_getGlobalNum()

subroutine Particles_getGlobalNum ( integer  globalNumParticles)

Returns the global (total) number of particles in the simulation after computing it by calling an MPI reduction routine.

Needed for input/output across all processors.

globalNumParticles : integer number of particles across all processors


The default implementation writes to the log file a line with the current global number of particles when first called, and then whenever the number has changed since the previous time.

Definition at line 33 of file Particles_getGlobalNum.F90.