TABLE OF CONTENTS
- 1. /initPionBox
- 1.1. initPionBox/thermalInit
- 1.2. initPionBox/nDens
- 1.3. initPionBox/ChargeSelection
- 1.4. initPionBox/pInit
- 1.5. initPionBox/BoostZ
- 1.6. initPionBox/Temp
- 1.7. initPionBox/Fugacity
- 1.8. initPionBox/correctMovingBox
- 1.9. initPionBox/initInput
- 1.10. initPionBox/PionBox
- 1.11. initPionBox/initializePionBox
- 1.11.1. initializePionBox/doThermal
- 1.11.2. initializePionBox/doNonThermal
- 1.11.3. initializePionBox/prepareChooseCharge1
- 1.11.4. initializePionBox/prepareChooseCharge2minus
- 1.11.5. initializePionBox/prepareChooseCharge2zero
- 1.11.6. initializePionBox/prepareChooseCharge2plus
- 1.11.7. initializePionBox/prepareChooseCharge3
- 1.11.8. initializePionBox/ChooseCharge
- 1.11.9. initializePionBox/ChoosePosition
- 1.11.10. initializePionBox/ChooseMomentum
- 1.11.11. initializePionBox/ChooseMomentumTherm
- 1.11.12. initializePionBox/doCorrectMovingBoxGlobal
- 1.11.13. initializePionBox/doCorrectMovingBoxEnsemble
/initPionBox [ Modules ]
NAME
module initPionBox
PURPOSE
Initializes pions for a box of pions
initPionBox/thermalInit [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
logical, save :: thermalInit = .false.
PURPOSE
flag how to initialize
initPionBox/nDens [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
real, save :: nDens = 1.0
PURPOSE
particle density [fm^-3]
initPionBox/ChargeSelection [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
integer, save :: ChargeSelection = 0
PURPOSE
define the type of the charge selection:
- 0: only pi0
- 1: 50% pi+, 50% pi-
- 2: 33% for +,0,-
initPionBox/pInit [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
real, save :: pInit = 0.5
PURPOSE
initial momentum of particles [GeV/c]
initPionBox/BoostZ [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
real, save :: BoostZ = 0.0
PURPOSE
additional boost for all particles in z-direction
initPionBox/Temp [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
real,dimension(1:122), save :: Temp = 0.0
PURPOSE
for thermal init: temperature of every meson species in GeV, if larger than 0. otherwise this species is not initialized
initPionBox/Fugacity [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
real,dimension(1:122), save :: Fugacity = 1.0
PURPOSE
for thermal init: fugacity of every meson species.
initPionBox/correctMovingBox [ Global module-variables ]
[ Top ] [ initPionBox ] [ Global module-variables ]
SOURCE
integer, save :: correctMovingBox = 1
PURPOSE
switch to indicate, whether a correction of the momenta after initialization should be done to enforce vanishing 3-momenta. possibilities are:
- 0 : no correction
- 1 : global correction
- 2 : per ensemble correction
initPionBox/initInput [ Subroutines ]
[ Top ] [ initPionBox ] [ Subroutines ]
NAME
subroutine initInput
PURPOSE
Reads input out of jobcard. Namelist 'initBox'.
initPionBox/PionBox [ Namelists ]
[ Top ] [ initPionBox ] [ Namelists ]
NAME
NAMELIST PionBox
PURPOSE
Includes the input parameters:
initPionBox/initializePionBox [ Subroutines ]
[ Top ] [ initPionBox ] [ Subroutines ]
NAME
subroutine initializePionBox(part)
PURPOSE
Initialize nucleons in a box
initializePionBox/doThermal [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine doThermal
PURPOSE
Do the thermal init
initializePionBox/doNonThermal [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine doNonThermal
PURPOSE
Do the non-thermal init
initializePionBox/prepareChooseCharge1 [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine prepareChooseCharge1(nTot)
PURPOSE
prepare the random selection of the charges: (-1,0,+1) = ( - , 100%, - )
initializePionBox/prepareChooseCharge2minus [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine prepareChooseCharge2minus(nTot)
PURPOSE
prepare the random selection of the charges: (-1,0,+1) = ( 50%, 50%, - ) If the total number of particles is not even, the number of neutral particles is increased by one
initializePionBox/prepareChooseCharge2zero [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine prepareChooseCharge2zero(nTot)
PURPOSE
prepare the random selection of the charges: (-1,0,+1) = ( 50%, - , 50% ) If the total number of particles is not even, the number of negative particles is increased by one, thus the symmetry is broken (but who cares?)
initializePionBox/prepareChooseCharge2plus [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine prepareChooseCharge2plus(nTot)
PURPOSE
prepare the random selection of the charges: (-1,0,+1) = ( - , 50%, 50% ) If the total number of particles is not even, the number of neutral particles is increased by one
initializePionBox/prepareChooseCharge3 [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine prepareChooseCharge3(nTot)
PURPOSE
prepare the random selection of the charges: (-1,0,+1) = ( 33%, 33%, 33% ) If the total number of particles is not dividable by 3, the number of neutral or the number of both charged states is increased by one in order to get the total number of particles, but always in charge neutral sum.
initializePionBox/ChooseCharge [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine ChooseCharge
PURPOSE
Set the charge of the particle randomly according the numbers given in the array nCharge
initializePionBox/ChoosePosition [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine ChoosePosition
PURPOSE
Set the position of the particle randomly in the box
initializePionBox/ChooseMomentum [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine ChooseMomentum
PURPOSE
Set the momentum of the particle within the non-thermal init. The direction is choosen isotropically, while the absolute value is fixed.
initializePionBox/ChooseMomentumTherm [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine ChooseMomentumTherm
PURPOSE
Set the momentum of the particle within the thermal init. The direction is choosen isotropically. The absolute value of the momentum is choosen according a relativistic Maxwell distribution.
initializePionBox/doCorrectMovingBoxGlobal [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine doCorrectMovingBoxGlobal
PURPOSE
correct momenta on a global basis
initializePionBox/doCorrectMovingBoxEnsemble [ Subroutines ]
[ Top ] [ initializePionBox ] [ Subroutines ]
NAME
subroutine doCorrectMovingBoxEnsemble
PURPOSE
correct momenta for every single ensemble