TABLE OF CONTENTS
- 1. /PIL_rhoDiffractive
- 1.1. PIL_rhoDiffractive/diffractiveInfo
- 1.2. PIL_rhoDiffractive/IndexList
- 1.3. PIL_rhoDiffractive/ValueList
- 1.4. PIL_rhoDiffractive/PIL_rhoDiffractive_DeAlloc
- 1.5. PIL_rhoDiffractive/PIL_rhoDiffractive_ZERO
- 1.6. PIL_rhoDiffractive/PIL_rhoDiffractive_PUT
- 1.7. PIL_rhoDiffractive/PIL_rhoDiffractive_GET
- 1.8. PIL_rhoDiffractive/PIL_rhoDiffractive_Allocate
- 1.9. PIL_rhoDiffractive/PIL_rhoDiffractive_Print
/PIL_rhoDiffractive [ Modules ]
NAME
module PIL_rhoDiffractive
PURPOSE
cf. module PIL_nLead
Provide some storage method for a real valued information connected to a particle characterized by its unique particleNumber.
This is closely connected to the module PILIndex
NOTES
- "PIL" stands for "PartInfoList"
PIL_rhoDiffractive/diffractiveInfo [ Types ]
[ Top ] [ PIL_rhoDiffractive ] [ Types ]
NAME
type diffractiveInfo
PURPOSE
a container of the information to be stored
SOURCE
type diffractiveInfo logical :: val real :: valEpsR real,dimension(0:3) :: valRecoil end type diffractiveInfo
PIL_rhoDiffractive/IndexList [ Global module-variables ]
[ Top ] [ PIL_rhoDiffractive ] [ Global module-variables ]
PURPOSE
The list, were the particle numbers are connected with the (physical) storage position
SOURCE
type(tIndexList),save :: IndexList
PIL_rhoDiffractive/ValueList [ Global module-variables ]
[ Top ] [ PIL_rhoDiffractive ] [ Global module-variables ]
PURPOSE
The list, were the information is stored
SOURCE
type(diffractiveInfo),save, allocatable :: ValueList(:)
PIL_rhoDiffractive/PIL_rhoDiffractive_DeAlloc [ Subroutines ]
[ Top ] [ PIL_rhoDiffractive ] [ Subroutines ]
NAME
subroutine PIL_rhoDiffractive_DeAlloc
PURPOSE
Deallocate the memory for this list and the corresponding index list.
PIL_rhoDiffractive/PIL_rhoDiffractive_ZERO [ Subroutines ]
[ Top ] [ PIL_rhoDiffractive ] [ Subroutines ]
NAME
subroutine PIL_rhoDiffractive_ZERO()
PURPOSE
Reset the list by setting the counter of stored information to 0. No allocation or deallocation of memory happens.
PIL_rhoDiffractive/PIL_rhoDiffractive_PUT [ Subroutines ]
[ Top ] [ PIL_rhoDiffractive ] [ Subroutines ]
NAME
subroutine PIL_rhoDiffractive_PUT(number,r,epsR,recoil)
PURPOSE
Store the information "r" connected with particle "number" in the list.
INPUTS
- integer :: number -- the (unique) particle number
- logical :: r -- the information to store
- real :: epsR -- epsilon * R
- real, dimension(0:3) :: recoil -- momentum vector of target recoil
OUTPUT
none
PIL_rhoDiffractive/PIL_rhoDiffractive_GET [ Functions ]
[ Top ] [ PIL_rhoDiffractive ] [ Functions ]
NAME
logical function PIL_rhoDiffractive_GET(number,r,epsR,recoil)
PURPOSE
Get the stored information of particle "number"
INPUTS
- integer :: number -- the (unique) particle number
OUTPUT
- logical :: r -- the stored information (or .false.)
- real, OPTIONAL :: epsR -- epsilon * R
- real, dimension(0:3), OPTIONAL :: recoil -- momentum vector of target recoil
- the (logical) return value signals, whether inforation about this particle was found in the list or not.
PIL_rhoDiffractive/PIL_rhoDiffractive_Allocate [ Subroutines ]
[ Top ] [ PIL_rhoDiffractive ] [ Subroutines ]
NAME
subroutine PIL_rhoDiffractive_Allocate
PURPOSE
Do the allocation and reallocation of the value vector. The new size is taken from the size of the IndexList vectors.
NOTES
For security one should insert here checks, whether the memory allocations failed and stop execution in these cases.
PIL_rhoDiffractive/PIL_rhoDiffractive_Print [ Subroutines ]
[ Top ] [ PIL_rhoDiffractive ] [ Subroutines ]
NAME
subroutine PIL_rhoDiffractive_Print(file)
PURPOSE
Print the list to file