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

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

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


Revision 1.2 - (show annotations) (download)
Fri Aug 3 19:01:34 2001 UTC (22 years, 9 months ago) by adcroft
Branch: MAIN
CVS Tags: icebear2, checkpoint44h_pre, release1_p12, release1_p10, release1_p11, release1_p16, release1_p15, ecco_c44_e17, ecco_c44_e16, ecco_c44_e21, ecco_c44_e26, ecco_c44_e27, ecco_c44_e24, icebear5, icebear4, checkpoint44f_pre, icebear3, checkpoint46f_post, release1_p13_pre, checkpoint46d_pre, checkpoint46e_post, release1-branch_tutorials, release1_p14, checkpoint44g_post, checkpoint46h_pre, checkpoint44h_post, release1_p12_pre, checkpoint44e_post, checkpoint46e_pre, ecco-branch-mod4, checkpoint43a-release1mods, checkpoint45d_post, checkpoint45b_post, checkpoint46b_pre, chkpt44a_pre, release1-branch-end, release1_final_v1, ecco_c44_e19, checkpoint46, ecco_c44_e20, checkpoint44, release1_p13, ecco_c44_e18, checkpoint44f_post, checkpoint40pre6, checkpoint40pre8, release1_p17, release1_b1, checkpoint44b_post, chkpt44c_post, chkpt44d_post, checkpoint42, release1_p9, release1_p8, checkpoint43, checkpoint46g_pre, release1_p2, release1_p3, release1_p4, release1_p6, checkpoint46a_post, chkpt44a_post, checkpoint44b_pre, release1_p1, checkpoint46a_pre, ecco-branch-mod1, checkpoint45c_post, release1_p5, checkpoint44e_pre, chkpt44c_pre, checkpoint40pre9, release1_p7, ecco_ice2, ecco_ice1, checkpoint46b_post, checkpoint46d_post, ecco-branch-mod2, checkpoint46g_post, checkpoint45a_post, checkpoint46c_pre, ecco-branch-mod3, ecco-branch-mod5, ecco_c44_e22, release1_beta1, ecco_c44_e23, release1-branch_branchpoint, checkpoint40pre7, checkpoint46c_post, checkpoint40, checkpoint45, checkpoint46h_post, release1_chkpt44d_post, ecco_c44_e25, checkpoint41
Branch point for: c24_e25_ice, ecco-branch, release1_coupled, icebear, release1_final, release1-branch, release1, release1_50yr
Changes since 1.1: +23 -23 lines
Masking and exchanges were unnecessary (according to cnh).

1 C $Header: /u/gcmpack/models/MITgcmUV/pkg/aim/aim_aim2dyn_exchanges.F,v 1.1 2001/05/29 19:28:53 cnh Exp $
2 C $Name: $
3
4 #include "AIM_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE AIM_AIM2DYN_EXCHANGES(
8 I myCurrentTime,myThid)
9 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 #include "SIZE.h"
19 #include "EEPARAMS.h"
20 #include "PARAMS.h"
21 #include "GRID.h"
22 #include "DYNVARS.h"
23
24 #ifdef ALLOW_AIM
25 #include "AIM2DYN.h"
26 #endif /* ALLOW_AIM */
27
28 C == Routine arguments ==
29 _RL myCurrentTime
30 INTEGER myThid
31 CEndOfInterface
32
33 C == Local variables ==
34 C I,J,K - Loop counters
35 C bi,bj
36 INTEGER I,J,K, bi,bj
37
38 #ifdef ALLOW_AIM
39
40 _EXCH_XY_R8( aim_drag, myThid )
41 c _EXCH_XYZ_R8( gT, myThid )
42 c _EXCH_XYZ_R8( gS, myThid )
43 c _EXCH_XYZ_R8( gTNM1, myThid )
44 c _EXCH_XYZ_R8( gSNM1, myThid )
45 c DO bj=myByLo(myThid),myByHi(myThid)
46 c DO bi=myBxLo(myThid),myBxHi(myThid)
47 c DO K=1,Nr
48 c DO J=1-OLy,sNy+OLy
49 c DO I=1-OLx,sNx+OLx
50 c gT(i,j,k,bi,bj) =
51 c & maskC(i,j,k,bi,bj)*gT(i,j,k,bi,bj)
52 c gTNM1(i,j,k,bi,bj) =
53 c & maskC(i,j,k,bi,bj)*gTNM1(i,j,k,bi,bj)
54 c gS(i,j,k,bi,bj) =
55 c & maskC(i,j,k,bi,bj)*gS(i,j,k,bi,bj)
56 c gSNM1(i,j,k,bi,bj) =
57 c & maskC(i,j,k,bi,bj)*gSNM1(i,j,k,bi,bj)
58 c ENDDO
59 c ENDDO
60 c ENDDO
61 c ENDDO
62 c ENDDO
63
64 #endif /* ALLOW_AIM */
65
66 RETURN
67 END

  ViewVC Help
Powered by ViewVC 1.1.22