1 SUBROUTINE HORDER
(I
, UHIGH
, HI
, DMZ
, NCOMP
, K
)
3 C**********************************************************************
6 C determine highest order (piecewise constant) derivatives
7 C of the current collocation solution
10 C hi - the stepsize, hi = xi(i+1) - xi(i)
11 C dmz - vector of mj-th derivative of the solution
12 C uhigh - the array of highest order (piecewise constant)
13 C derivatives of the approximate solution on
14 C (xi(i),xi(i+1)), viz,
16 C uhigh(j) = u (x) on (xi(i),xi(i+1))
19 C**********************************************************************
21 IMPLICIT REAL*8 (A
-H
,O
-Z
)
22 DIMENSION UHIGH
(1), DMZ
(1)
24 COMMON /COLLOC
/ RHO
(7), COEF
(49)
28 C... loop over the ncomp solution components
34 IDMZ
= (I
-1) * K
* NCOMP
+ 1
38 UHIGH
(ID
) = UHIGH
(ID
) + FACT
* DMZ
(IDMZ
)