/[MITgcm]/MITgcm/model/src/do_stagger_fields_exchanges.F
ViewVC logotype

Contents of /MITgcm/model/src/do_stagger_fields_exchanges.F

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


Revision 1.7 - (show annotations) (download)
Tue Apr 28 18:01:14 2009 UTC (15 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62c, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint63g, checkpoint62, checkpoint63, checkpoint63p, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint62b, checkpoint61n, checkpoint61q, checkpoint61o, checkpoint61m, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.6: +4 -4 lines
change macros (EXCH & GLOBAL_SUM/MAX) sufix _R4/_R8 to _RS/_RL
 when applied to _RS/_RL variable

1 C $Header: /u/gcmpack/MITgcm/model/src/do_stagger_fields_exchanges.F,v 1.6 2006/02/23 20:55:48 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: DO_STAGGER_FIELDS_EXCHANGES
8 C !INTERFACE:
9 SUBROUTINE DO_STAGGER_FIELDS_EXCHANGES(myTime, myIter, myThid)
10 C !DESCRIPTION: \bv
11 C *==========================================================*
12 C | SUBROUTINE DO_STAGGER_FIELDS_EXCHANGES
13 C | o Exchange edge info of Active tracers fields (U,V)
14 C | (needed when using stagger time Step + multiDimAdvec)
15 C *==========================================================*
16 C \ev
17 C !USES:
18 IMPLICIT NONE
19 C == Global variables ===
20 #include "SIZE.h"
21 #include "EEPARAMS.h"
22 #include "PARAMS.h"
23 #include "DYNVARS.h"
24
25 C !INPUT/OUTPUT PARAMETERS:
26 C == Routine arguments ==
27 C myTime :: Current time in simulation
28 C myIter :: Current iteration number in simulation
29 C myThid :: Thread number for this instance of the routine.
30 _RL myTime
31 INTEGER myIter
32 INTEGER myThid
33 CEOP
34
35 IF ( staggerTimeStep .AND. useMultiDimAdvec) THEN
36 CALL EXCH_UV_XYZ_RL(uVel,vVel,.TRUE.,myThid)
37 IF ( .NOT.implicitIntGravWave )
38 & _EXCH_XYZ_RL( wVel , myThid )
39 ENDIF
40 c #ifdef ALLOW_NONHYDROSTATIC
41 IF ( implicitIntGravWave ) THEN
42 _EXCH_XYZ_RL( gT , myThid )
43 _EXCH_XYZ_RL( gS , myThid )
44 ENDIF
45 c #endif
46
47 RETURN
48 END

  ViewVC Help
Powered by ViewVC 1.1.22