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

Annotation of /MITgcm/model/src/do_fields_blocking_exchanges.F

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


Revision 1.6 - (hide annotations) (download)
Mon Jul 30 20:23:09 2001 UTC (22 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint40pre4, checkpoint40pre5, checkpoint40
Changes since 1.5: +6 -2 lines
Added CPP option ALLOW_PASSIVE_TRACER for TR1.h related fields.

1 heimbach 1.6 C $Header: /u/gcmpack/models/MITgcmUV/model/src/do_fields_blocking_exchanges.F,v 1.5 2001/07/13 14:26:57 heimbach Exp $
2     C $Name: checkpoint40pre2 $
3 adcroft 1.2
4     #include "CPP_OPTIONS.h"
5    
6     SUBROUTINE DO_FIELDS_BLOCKING_EXCHANGES(myThid)
7     C /==========================================================\
8     C | SUBROUTINE DO_FIELDS_BLOCKING_EXCHANGES |
9     C | o Controlling routine for exchanging edge info. |
10     C |==========================================================|
11     C | One key trick used in UV us that we over-compute and |
12     C | arrange our time-stepping loop so that we only need one |
13     C | edge exchange for the explicit code per timestep. |
14     C \==========================================================/
15     IMPLICIT NONE
16    
17     C == Global variables ===
18     #include "SIZE.h"
19     #include "EEPARAMS.h"
20     #include "DYNVARS.h"
21 heimbach 1.6 #ifdef ALLOW_PASSIVE_TRACER
22 heimbach 1.5 #include "TR1.h"
23 heimbach 1.6 #endif
24 adcroft 1.2
25     C == Routine arguments ==
26     C myThid - Thread number for this instance of the routine.
27     INTEGER myThid
28    
29     c _EXCH_XYZ_R8( Gu , myThid )
30     c _EXCH_XYZ_R8( Gv , myThid )
31     c _EXCH_XYZ_R8( Gt , myThid )
32     c _EXCH_XYZ_R8( Gs , myThid )
33     c _EXCH_XYZ_R8( gUNm1 , myThid )
34     c _EXCH_XYZ_R8( gVNm1 , myThid )
35     c _EXCH_XYZ_R8( gTNm1 , myThid )
36     c _EXCH_XYZ_R8( gSNm1 , myThid )
37 adcroft 1.4 c _EXCH_XYZ_R8( uVel , myThid )
38     c _EXCH_XYZ_R8( vVel , myThid )
39     CALL EXCH_UV_XYZ_RL(uVel,vVel,.TRUE.,myThid)
40 adcroft 1.2 _EXCH_XYZ_R8( theta , myThid )
41     _EXCH_XYZ_R8( salt , myThid )
42 heimbach 1.6 #ifdef ALLOW_PASSIVE_TRACER
43 heimbach 1.5 _EXCH_XYZ_R8( Tr1 , myThid )
44 heimbach 1.6 #endif
45 adcroft 1.2
46     #ifdef INCLUDE_CD_CODE
47     c _EXCH_XYZ_R8( guCD , myThid )
48     c _EXCH_XYZ_R8( gvCD , myThid )
49     _EXCH_XYZ_R8( uVelD , myThid )
50     _EXCH_XYZ_R8( vVelD , myThid )
51     #endif
52    
53     RETURN
54     END
55    

  ViewVC Help
Powered by ViewVC 1.1.22