Go to the documentation of this file.
2 subroutine chapmn(x,y,dchap)
5 implicit real*8 (a-h,o-z)
6 real*8 dp,dz,dy,dsum,dchap,dt,dsq,x,
pi,theta,ax(5)
7 data ax /1.061405429d+00,-1.453152027d+00,
8 1 1.421413741d+00,-0.284496736d+00,
9 2 0.254829592d+00/, dp /0.3275911d+00/
11 theta =
pi*theta/180.0d0
13 dz = dy*dsqrt(0.5d0*x)
15 dt = 1.0e+00/ (1.00e+00 + dp * dz)
17 if(dy.ge.0.2d0)
go to 220
19 210 dsum = dt*(ax(i) + dsum)
23 220 dt = 0.5d+00/(dz**2)
24 dchap = (1.0d+00-dt*(1.0d+00 - 3.0d+00*dt*
25 1 (1.0d+00 - 5.0d+00*dt)))/dy
subroutine chapmn(x, y, dchap)