TABLE OF CONTENTS
- 1. /statistics
- 1.1. statistics/splashInfo
- 1.2. statistics/saveInfo
- 1.3. statistics/getInfo
- 1.4. statistics/enlargeInfoVec
/statistics [ Modules ]
NAME
module statistics
PURPOSE
This module is used to store statistical information about the particles. Calling "saveInfo" saves the information of the particle with %number and ensemble being the ordering scheme. Calling "getInfo(ensemble,number,...)" returns the information. This info is not included in the particleDefinition, since it would blow up the memory usage. If this module is used, and only then, memory is allocated for this information.
statistics/splashInfo [ Subroutines ]
[ Top ] [ statistics ] [ Subroutines ]
NAME
subroutine splashInfo
INPUTS
NONE
PURPOSE
This subroutine sets the module back to normal and deallocates the information vector, if allocated.
statistics/saveInfo [ Subroutines ]
[ Top ] [ statistics ] [ Subroutines ]
NAME
subroutine saveInfo(number,ensemble,place, producingParticle1,producingParticle2,producingParticle3)
PURPOSE
This subroutine saves given information into a vector. The information is stored by number and ensemble of the particle.
INPUTS
integer, intent(in) :: number ! number of particle integer, intent(in) :: ensemble ! ensemble of particle integer, intent(in) :: producingParticle1,producingParticle2,producingParticle3 ! particle ID's which produced the particle real, dimension(1:3) , intent(in) :: place ! place where particle was produced
AUTHOR
Oliver Buss
statistics/getInfo [ Subroutines ]
[ Top ] [ statistics ] [ Subroutines ]
NAME
subroutine getInfo(number,ensemble,prodPlace,prodParticles,successFlag)
PURPOSE
This subroutine returns given information out of a vector. The information is stored by number and ensemble of the particle.
INPUTS
integer, intent(in) :: number ! number of particle integer, intent(in) :: ensemble ! ensemble of particle integer, dimension(1:3), intent(out) :: producingParticles ! particles which produced the particle real, dimension(1:3) , intent(in) :: prodPlace ! place where particle was produced
AUTHOR
Oliver Buss
statistics/enlargeInfoVec [ Subroutines ]
[ Top ] [ statistics ] [ Subroutines ]
NAME
subroutine enlargeInfoVec
PURPOSE
This subroutine enlarges the vector infoVec if it got too small. If the size is already greater than maxsize, then the code stops to prevent memory overflow
AUTHOR
Oliver Buss