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

Contents 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.3 - (show annotations) (download)
Fri Dec 25 19:44:35 2009 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint63, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.2: +8 -1 lines
fix for multi-threaded

1 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_import_fields.F,v 1.2 2007/06/18 21:28:52 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: ATM_IMPORT_FIELDS
8 C !INTERFACE:
9 SUBROUTINE ATM_IMPORT_FIELDS( myThid )
10
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 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 C !INPUT/OUTPUT PARAMETERS:
32 C == Routine arguments ==
33 C myThid :: my Thread Id number
34 INTEGER myThid
35 CEOP
36
37 #ifdef COMPONENT_MODULE
38 C !LOCAL VARIABLES:
39 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 _BARRIER
46 _BEGIN_MASTER( myThid )
47
48 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 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 _END_MASTER( myThid )
71 _BARRIER
72
73 #endif /* COMPONENT_MODULE */
74
75 RETURN
76 END

  ViewVC Help
Powered by ViewVC 1.1.22