Go to the source code of this file.
◆ csampcollina()
Definition at line 28 of file csampCollInA.f.
References cinelx(), d0, parameter(), and rndc().
Referenced by chacoladhoc().
48 real*4 cumprob(mm, nn, kk)
55 * da = (a2-a1)/(kk-1) )
58 parameter( xs1 = 1.176091259, xs2 = 2.477121255,
59 * dxs =( xs2 - xs1)/15.)
69 idxa = (a3- a1)/da + 1
70 idxxs = (
xs - xs1)/dxs + 1
71 if( (a3 - idxa * da - a1) .gt. (idxa*da + da + a1 - a3) )
then 74 idxa =max(1, min(idxa, kk))
76 if( (
xs - idxxs * dxs - xs1) .gt.
77 * (idxxs * dxs + dxs + xs1 -
xs) )
then 80 idxxs =max(1, min(idxxs, nn))
83 if(u .le. cumprob(
i, idxxs, idxa) )
then integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine cinelx(pj, A, Z, xs)
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0