1 double precision function gnmr1(y,ymin,ymax)
3 double precision y,ymin,ymax
4 double precision wykl /4.0d0/
6 gnmr1=(ymin-y)**wykl/wykl
7 else if (y.gt.ymax) then
8 gnmr1=(y-ymax)**wykl/wykl
14 c------------------------------------------------------------------------------
15 double precision function gnmr1prim(y,ymin,ymax)
17 double precision y,ymin,ymax
18 double precision wykl /4.0d0/
20 gnmr1prim=-(ymin-y)**(wykl-1)
21 else if (y.gt.ymax) then
22 gnmr1prim=(y-ymax)**(wykl-1)
28 c------------------------------------------------------------------------------
29 double precision function harmonic(y,ymax)
31 double precision y,ymax
32 double precision wykl /2.0d0/
33 harmonic=(y-ymax)**wykl
36 c-------------------------------------------------------------------------------
37 double precision function harmonicprim(y,ymax)
38 double precision y,ymin,ymax
39 double precision wykl /2.0d0/
40 harmonicprim=(y-ymax)*wykl
43 c---------------------------------------------------------------------------------
44 double precision function rlornmr1(y,ymin,ymax,sigma)
46 double precision y,ymin,ymax,sigma
47 double precision wykl /4.0d0/
49 rlornmr1=(ymin-y)**wykl/((ymin-y)**wykl+sigma**wykl)
50 else if (y.gt.ymax) then
51 rlornmr1=(y-ymax)**wykl/((y-ymax)**wykl+sigma**wykl)
57 c------------------------------------------------------------------------------
58 double precision function rlornmr1prim(y,ymin,ymax,sigma)
60 double precision y,ymin,ymax,sigma
61 double precision wykl /4.0d0/
63 rlornmr1prim=-(ymin-y)**(wykl-1)*sigma**wykl*wykl/
64 & ((ymin-y)**wykl+sigma**wykl)**2
65 else if (y.gt.ymax) then
66 rlornmr1prim=(y-ymax)**(wykl-1)*sigma**wykl*wykl/
67 & ((y-ymax)**wykl+sigma**wykl)**2