FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Grid_countParticlesByBlock.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Grid_countParticlesByBlock (particlesPerBlock)
 

Function/Subroutine Documentation

◆ Grid_countParticlesByBlock()

subroutine Grid_countParticlesByBlock ( integer  particlesPerBlock)

counts the particles per type.

props : number of properties of each element in the dataBuf datastructure

localCount : While coming in it contains the current number of elements mapped to this processor. After all the data structure movement, the number of local elements might change, and the new value is put back into it. elementTypes : Count of different types of elements in the simulation maxCount : This is parameter determined at runtime, and is the maximum number of local elements that a simulation expects to have. All the arrays that hold particles in the Particles unit are allocated based on this number.

NOTES Currently this routine is called by io_ptwriteParticles (serial/parallel), Grid_moveParticles, Particles_initData

Definition at line 36 of file Grid_countParticlesByBlock.F90.