blob: 1fa6686a6a415b91e0ff06dea9568e71aa4f89f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
*DECK SYB33C
SUBROUTINE SYB33C (PPLUS,TAUP)
*
*-----------------------------------------------------------------------
*
*Purpose:
* Evaluation of the $D_i$ function in 1D cylindrical and 2D geometry.
*
*Copyright:
* Copyright (C) 2002 Ecole Polytechnique de Montreal
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version
*
*Author(s): A. Hebert
*
*Parameters: input
* TAUP optical path.
*
*Parameters: output
* PPLUS value of the expression.
*
*-----------------------------------------------------------------------
*
*----
* SUBROUTINE ARGUMENTS
*----
REAL PPLUS,TAUP
*
IF (TAUP .EQ. 0.0) THEN
PPLUS=0.0
ELSE IF (TAUP .GT. 0.004) THEN
PPLUS=TAUP+TABKI(3,TAUP)-TABKI(3,0.0)
ELSE IF (TAUP .GT. 0.002) THEN
PPLUS=TAUP+TABKI(3,TAUP)-TABKI(3,0.0)
PQLUS= 0.5*TAUP*TAUP*TABKI(1,TAUP*0.5)
FACT=500.0*(TAUP-0.002)
PPLUS=PPLUS*FACT+PQLUS*(1.0-FACT)
ELSE
PPLUS=0.5*TAUP*TAUP*TABKI(1,TAUP*0.5)
ENDIF
RETURN
END
|