3 |
|
|
4 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
5 |
|
|
6 |
|
CBOP |
7 |
|
C !ROUTINE: GRAD_SIGMA |
8 |
|
C !INTERFACE: |
9 |
SUBROUTINE GRAD_SIGMA( |
SUBROUTINE GRAD_SIGMA( |
10 |
I bi, bj, iMin, iMax, jMin, jMax, K, |
I bi, bj, iMin, iMax, jMin, jMax, K, |
11 |
I rhoK, sigKm1, sigKp1, |
I rhoK, sigKm1, sigKp1, |
12 |
O sigmaX, sigmaY, sigmaR, |
O sigmaX, sigmaY, sigmaR, |
13 |
I myThid ) |
I myThid ) |
14 |
C /==========================================================\ |
C !DESCRIPTION: \bv |
15 |
C | SUBROUTINE CALC_ISOSLOPES | |
C *==========================================================* |
16 |
C | o Calculate isoneutral gradients | |
C | SUBROUTINE CALC_ISOSLOPES |
17 |
C |==========================================================| |
C | o Calculate isoneutral gradients |
18 |
C \==========================================================/ |
C *==========================================================* |
19 |
IMPLICIT NONE |
C \ev |
20 |
|
|
21 |
|
C !USES: |
22 |
|
IMPLICIT NONE |
23 |
C == Global variables == |
C == Global variables == |
24 |
#include "SIZE.h" |
#include "SIZE.h" |
25 |
#include "GRID.h" |
#include "GRID.h" |
26 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
27 |
#include "PARAMS.h" |
#include "PARAMS.h" |
28 |
|
|
29 |
|
C !INPUT/OUTPUT PARAMETERS: |
30 |
C == Routine arguments == |
C == Routine arguments == |
|
C |
|
31 |
INTEGER bi,bj,iMin,iMax,jMin,jMax,K |
INTEGER bi,bj,iMin,iMax,jMin,jMax,K |
32 |
_RL rhoK(1-Olx:sNx+Olx,1-Oly:sNy+Oly) |
_RL rhoK(1-Olx:sNx+Olx,1-Oly:sNy+Oly) |
33 |
_RL sigKm1(1-Olx:sNx+Olx,1-Oly:sNy+Oly) |
_RL sigKm1(1-Olx:sNx+Olx,1-Oly:sNy+Oly) |
37 |
_RL sigmaR(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr) |
_RL sigmaR(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr) |
38 |
INTEGER myThid |
INTEGER myThid |
39 |
|
|
40 |
|
C !LOCAL VARIABLES: |
41 |
C == Local variables == |
C == Local variables == |
42 |
INTEGER i,j |
INTEGER i,j |
43 |
|
CEOP |
44 |
|
|
45 |
DO j=1-Oly,sNy+Oly |
DO j=1-Oly,sNy+Oly |
46 |
DO i=1-Olx+1,sNx+Olx |
DO i=1-Olx+1,sNx+Olx |