2 DOUBLE PRECISION FUNCTION DQWGTS
(X
, A
, B
, ALFA
, BETA
, INTEGR
)
3 C***BEGIN PROLOGUE DQWGTS
5 C***PURPOSE This function subprogram is used together with the
6 C routine DQAWS and defines the WEIGHT function.
8 C***TYPE DOUBLE PRECISION (QWGTS-S, DQWGTS-D)
9 C***KEYWORDS ALGEBRAICO-LOGARITHMIC, END POINT SINGULARITIES,
11 C***AUTHOR Piessens, Robert
12 C Applied Mathematics and Programming Division
15 C Applied Mathematics and Programming Division
18 C***ROUTINES CALLED (NONE)
19 C***REVISION HISTORY (YYMMDD)
21 C 890531 Changed all specific intrinsics to generic. (WRB)
22 C 890531 REVISION DATE from Version 3.2
23 C 891214 Prologue converted to Version 4.0 format. (BAB)
24 C 900328 Added TYPE section. (WRB)
25 C***END PROLOGUE DQWGTS
27 DOUBLE PRECISION A
,ALFA
,B
,BETA
,BMX
,X
,XMA
29 C***FIRST EXECUTABLE STATEMENT DQWGTS
32 DQWGTS
= XMA**ALFA*BMX**BETA
33 GO TO (40,10,20,30),INTEGR
34 10 DQWGTS
= DQWGTS*LOG
(XMA
)
36 20 DQWGTS
= DQWGTS*LOG
(BMX
)
38 30 DQWGTS
= DQWGTS*LOG
(XMA
)*LOG
(BMX
)