12 |
O a3d, b3d, c3d, |
O a3d, b3d, c3d, |
13 |
I myThid ) |
I myThid ) |
14 |
|
|
15 |
C !DESCRIPTION: \bv |
C !DESCRIPTION: |
16 |
C *==========================================================* |
C Compute matrix element to solve vertical advection implicitly |
17 |
C | S/R GAD_C2_IMPL_R |
C using centered second-order scheme The contribution of vertical |
18 |
C | o Compute matrix element to solve vertical advection |
C transport at interface k is added to matrix lines k and k-1. |
|
C | implicitly using centered second-order scheme |
|
|
C *==========================================================* |
|
|
C | o contribution of vertical transport at interface k |
|
|
C | is added to matrix lines k & k-1 |
|
|
C *==========================================================* |
|
|
C \ev |
|
19 |
|
|
20 |
C !USES: |
C !USES: |
21 |
IMPLICIT NONE |
IMPLICIT NONE |
28 |
|
|
29 |
C !INPUT/OUTPUT PARAMETERS: |
C !INPUT/OUTPUT PARAMETERS: |
30 |
C == Routine Arguments == |
C == Routine Arguments == |
31 |
C bi,bj :: tile indices |
C bi,bj :: tile indices |
32 |
C k :: vertical level |
C k :: vertical level |
33 |
C iMin,iMax,jMin,jMax :: computation domain |
C iMin,iMax :: computation domain |
34 |
C deltaTarg :: time step |
C jMin,jMax :: computation domain |
35 |
C rTrans :: vertical volume transport |
C deltaTarg :: time step |
36 |
C a3d :: lower diagonal of the tridiagonal matrix |
C rTrans :: vertical volume transport |
37 |
C b3d :: main diagonal of the tridiagonal matrix |
C a3d :: lower diagonal of the tridiagonal matrix |
38 |
C c3d :: upper diagonal of the tridiagonal matrix |
C b3d :: main diagonal of the tridiagonal matrix |
39 |
C myThid :: thread number |
C c3d :: upper diagonal of the tridiagonal matrix |
40 |
|
C myThid :: thread number |
41 |
INTEGER bi,bj,k |
INTEGER bi,bj,k |
42 |
INTEGER iMin,iMax,jMin,jMax |
INTEGER iMin,iMax,jMin,jMax |
43 |
_RL deltaTarg |
_RL deltaTarg |
48 |
INTEGER myThid |
INTEGER myThid |
49 |
|
|
50 |
C == Local Variables == |
C == Local Variables == |
51 |
C i,j :: loop indices |
C i,j :: loop indices |
52 |
C rCenter :: centered contribution |
C rCenter :: centered contribution |
53 |
INTEGER i,j |
INTEGER i,j |
54 |
_RL rCenter |
_RL rCenter |
55 |
CEOP |
CEOP |