/[MITgcm]/MITgcm/pkg/aim_compon_interf/atm_import_fields.F
ViewVC logotype

Annotation of /MITgcm/pkg/aim_compon_interf/atm_import_fields.F

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


Revision 1.4 - (hide annotations) (download)
Thu May 16 20:56:59 2013 UTC (10 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
rename pkg/aim_compon_interf to pkg/atm_compon_interf (to be used with other
 atmospheric physics pkg) but by-pass CVS to get the new pkg so that
 we keep the history.

1 jmc 1.4 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_import_fields.F,v 1.3 2009/12/25 19:44:35 jmc Exp $
2 jmc 1.2 C $Name: $
3 jmc 1.1
4     #include "CPP_OPTIONS.h"
5    
6 jmc 1.2 CBOP
7     C !ROUTINE: ATM_IMPORT_FIELDS
8     C !INTERFACE:
9 jmc 1.1 SUBROUTINE ATM_IMPORT_FIELDS( myThid )
10 jmc 1.2
11     C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | SUBROUTINE ATM_IMPORT_FIELDS
14     C | o Routine for importing ocean surface coupling fields
15     C | from coupling layer.
16     C *==========================================================*
17     C | This version talks to the MIT Coupler. It uses the MIT
18     C | Coupler "checkpoint1" library calls.
19     C *==========================================================*
20     C \ev
21    
22     C !USES:
23 jmc 1.1 IMPLICIT NONE
24    
25     C == Global variables ==
26     #include "SIZE.h"
27     #include "EEPARAMS.h"
28     #include "ATMCPL.h"
29     #include "ATMIDS.h"
30    
31 jmc 1.2 C !INPUT/OUTPUT PARAMETERS:
32 jmc 1.1 C == Routine arguments ==
33 jmc 1.2 C myThid :: my Thread Id number
34 jmc 1.1 INTEGER myThid
35 jmc 1.2 CEOP
36 jmc 1.1
37     #ifdef COMPONENT_MODULE
38 jmc 1.3 C !LOCAL VARIABLES:
39 jmc 1.1 C == Local variables ==
40    
41     C Fetch data from coupling layer. Note MIT Coupler checkpoint1
42     C does not allow asynchronous extraction of data, so ordering
43     C has to be consistent with ordering coupling layer.
44    
45 jmc 1.3 _BARRIER
46     _BEGIN_MASTER( myThid )
47    
48 jmc 1.1 C- Receive ocean mixed-layer thickness from coupling layer.
49     CALL COMPRECV_R8TILES( atmMxlDName,
50     I sNx, OLx, sNy, OLy, 1, nSx, nSy, ocMxlD )
51    
52     C- Receive ocean surface temperatures from coupling layer.
53     CALL COMPRECV_R8TILES( atmSSTName,
54     I sNx, OLx, sNy, OLy, 1, nSx, nSy, SSTocn )
55    
56     C- Receive ocean surface salinity from coupling layer.
57     CALL COMPRECV_R8TILES( atmSSSName,
58     I sNx, OLx, sNy, OLy, 1, nSx, nSy, SSSocn )
59    
60     C- Receive ocean surface velocity square from coupling layer.
61     CALL COMPRECV_R8TILES( atmSSVsqName,
62     I sNx, OLx, sNy, OLy, 1, nSx, nSy, vSqocn )
63    
64 jmc 1.2 C- Receive air-sea flux of CO2
65     IF ( atmCpl_exchange_DIC ) THEN
66     CALL COMPRECV_R8TILES( atmFCO2Name,
67     I sNx, OLx, sNy, OLy, 1, nSx, nSy, flxCO2ocn )
68     ENDIF
69    
70 jmc 1.3 _END_MASTER( myThid )
71     _BARRIER
72    
73 jmc 1.1 #endif /* COMPONENT_MODULE */
74    
75     RETURN
76     END

  ViewVC Help
Powered by ViewVC 1.1.22