/[MITgcm]/MITgcm/pkg/aim/aim_aim2dyn_exchanges.F
ViewVC logotype

Annotation of /MITgcm/pkg/aim/aim_aim2dyn_exchanges.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (hide annotations) (download)
Mon Aug 1 19:34:56 2005 UTC (18 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Emptying aim/ since aim_v23 is now "the one" for all experiements.

1 cnh 1.5 C $Header: /u/gcmpack/MITgcm/pkg/aim/aim_aim2dyn_exchanges.F,v 1.4 2004/04/22 21:34:52 jmc Exp $
2 cnh 1.1 C $Name: $
3    
4     #include "AIM_OPTIONS.h"
5    
6     CStartOfInterface
7     SUBROUTINE AIM_AIM2DYN_EXCHANGES(
8 jmc 1.4 I myCurrentTime, myIter, myThid)
9 cnh 1.1 C /==========================================================\
10     C | S/R AIM_AIM2DYN_EXCHANGES |
11     C | o Do overlap exchanges for AIM related quantities. |
12     C | AIM does not compute into overlaps so exchanges |
13     C | are needed for AIM quantities. |
14     C \==========================================================/
15     IMPLICIT NONE
16    
17     C == Global data ==
18 jmc 1.3 #include "SIZE.h"
19 cnh 1.1 #include "EEPARAMS.h"
20     #include "PARAMS.h"
21     #include "GRID.h"
22     #include "DYNVARS.h"
23    
24     #include "AIM2DYN.h"
25    
26     C == Routine arguments ==
27     _RL myCurrentTime
28 jmc 1.4 INTEGER myIter
29 cnh 1.1 INTEGER myThid
30     CEndOfInterface
31    
32 jmc 1.3 #ifdef ALLOW_AIM
33    
34 cnh 1.1 C == Local variables ==
35     C I,J,K - Loop counters
36     C bi,bj
37 jmc 1.3 c INTEGER I,J,K, bi,bj
38 cnh 1.1
39     _EXCH_XY_R8( aim_drag, myThid )
40 adcroft 1.2 c _EXCH_XYZ_R8( gT, myThid )
41     c _EXCH_XYZ_R8( gS, myThid )
42     c _EXCH_XYZ_R8( gTNM1, myThid )
43     c _EXCH_XYZ_R8( gSNM1, myThid )
44     c DO bj=myByLo(myThid),myByHi(myThid)
45     c DO bi=myBxLo(myThid),myBxHi(myThid)
46     c DO K=1,Nr
47     c DO J=1-OLy,sNy+OLy
48     c DO I=1-OLx,sNx+OLx
49     c gT(i,j,k,bi,bj) =
50     c & maskC(i,j,k,bi,bj)*gT(i,j,k,bi,bj)
51     c gTNM1(i,j,k,bi,bj) =
52     c & maskC(i,j,k,bi,bj)*gTNM1(i,j,k,bi,bj)
53     c gS(i,j,k,bi,bj) =
54     c & maskC(i,j,k,bi,bj)*gS(i,j,k,bi,bj)
55     c gSNM1(i,j,k,bi,bj) =
56     c & maskC(i,j,k,bi,bj)*gSNM1(i,j,k,bi,bj)
57     c ENDDO
58     c ENDDO
59     c ENDDO
60     c ENDDO
61     c ENDDO
62 cnh 1.1
63     #endif /* ALLOW_AIM */
64    
65     RETURN
66     END

  ViewVC Help
Powered by ViewVC 1.1.22