/[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.2 - (hide annotations) (download)
Mon Jun 18 21:28:52 2007 UTC (16 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.1: +27 -13 lines
import/export fields needed for DIC from/to Coupler interface

1 jmc 1.2 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_import_fields.F,v 1.1 2004/05/21 19:59:38 jmc Exp $
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     C == Local variables ==
39    
40     C Fetch data from coupling layer. Note MIT Coupler checkpoint1
41     C does not allow asynchronous extraction of data, so ordering
42     C has to be consistent with ordering coupling layer.
43    
44     C- Receive ocean mixed-layer thickness from coupling layer.
45     CALL COMPRECV_R8TILES( atmMxlDName,
46     I sNx, OLx, sNy, OLy, 1, nSx, nSy, ocMxlD )
47    
48     C- Receive ocean surface temperatures from coupling layer.
49     CALL COMPRECV_R8TILES( atmSSTName,
50     I sNx, OLx, sNy, OLy, 1, nSx, nSy, SSTocn )
51    
52     C- Receive ocean surface salinity from coupling layer.
53     CALL COMPRECV_R8TILES( atmSSSName,
54     I sNx, OLx, sNy, OLy, 1, nSx, nSy, SSSocn )
55    
56     C- Receive ocean surface velocity square from coupling layer.
57     CALL COMPRECV_R8TILES( atmSSVsqName,
58     I sNx, OLx, sNy, OLy, 1, nSx, nSy, vSqocn )
59    
60 jmc 1.2 C- Receive air-sea flux of CO2
61     IF ( atmCpl_exchange_DIC ) THEN
62     CALL COMPRECV_R8TILES( atmFCO2Name,
63     I sNx, OLx, sNy, OLy, 1, nSx, nSy, flxCO2ocn )
64     ENDIF
65    
66 jmc 1.1 #endif /* COMPONENT_MODULE */
67    
68     RETURN
69     END

  ViewVC Help
Powered by ViewVC 1.1.22