/[MITgcm]/MITgcm/pkg/ocn_compon_interf/ocn_import_fields.F
ViewVC logotype

Contents of /MITgcm/pkg/ocn_compon_interf/ocn_import_fields.F

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


Revision 1.2 - (show annotations) (download)
Thu May 10 21:15:52 2007 UTC (17 years ago) by jscott
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59c, checkpoint59b, 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: +19 -1 lines
permit exchange of carbon variables between coupler <-> ocean

1 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/ocn_import_fields.F,v 1.1 2004/05/21 19:42:26 jmc Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 CStartOfInterface
8 SUBROUTINE OCN_IMPORT_FIELDS( myThid )
9 C /==========================================================\
10 C | SUBROUTINE OCN_IMPORT_FIELDS |
11 C | o Routine for importing fields (e.g. surface fluxes) |
12 C | from coupling layer. |
13 C |==========================================================|
14 C | This version talks to the MIT Coupler. It uses the |
15 C | MIT Coupler "checkpoint 1" library calls. |
16 C \==========================================================/
17 IMPLICIT NONE
18
19 C == Global variables ==
20 #include "SIZE.h"
21 #include "EEPARAMS.h"
22 #include "OCNIDS.h"
23 #include "OCNCPL.h"
24
25 C == Routine arguments ==
26 C myThid - Thread number for this instance of the routine
27 INTEGER myThid
28 CEndOfInterface
29
30 C Note: 1) all fields will have been gridded onto ocean grid.
31 C 2) MIT Coupler checkpoint1 does not allow asynchronous posting of
32 C data, so ordering has to be consistent with coupling layer ordering
33
34 C- Receive Atmospheric Sea-Level pressure from coupling layer.
35 CALL COMPRECV_R8TILES( ocnSLPrName,
36 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
37 O atmSLPr )
38
39 C- Receive surface heatflux from coupling layer.
40 CALL COMPRECV_R8TILES( ocnHeatFluxName,
41 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
42 O HeatFlux )
43
44 C- Receive net shortwave radiation from coupling layer.
45 CALL COMPRECV_R8TILES( ocnQshortWaveName,
46 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
47 O qShortWave )
48
49 C- Receive Zonal surface wind-stress from coupling layer.
50 CALL COMPRECV_R8TILES( ocnTauXName,
51 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
52 O tauX )
53
54 C- Receive Meridional surface wind-stress from coupling layer.
55 CALL COMPRECV_R8TILES( ocnTauYName,
56 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
57 O tauY )
58
59 C- Receive fresh water flux from coupling layer.
60 CALL COMPRECV_R8TILES( ocnFWFluxName,
61 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
62 O FWFlux )
63
64 C- Receive salt flux (sea-ice model) from coupling layer.
65 CALL COMPRECV_R8TILES( ocnSaltFxName,
66 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
67 O iceSaltFlx )
68
69 C- Receive sea-ice mass (sea-ice model) from coupling layer.
70 CALL COMPRECV_R8TILES( ocnSeaIceName,
71 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
72 O seaIceMass )
73
74 IF ( ocnCpl_exchange_DIC ) THEN
75 C- Receive atmos CO2 level from coupling layer.
76 CALL COMPRECV_R8TILES( ocnAirCO2Name,
77 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
78 O airCO2 )
79
80 C- Receive ground-level windspeed from coupling layer.
81 CALL COMPRECV_R8TILES( ocnWSpdName,
82 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
83 O surfWSpeed )
84
85 C- Receive seaice fraction from coupling layer.
86 CALL COMPRECV_R8TILES( ocnFIceName,
87 I sNx, OLx, sNy, OLy, 1, nSx, nSy,
88 O fracIce )
89 ENDIF
90
91 RETURN
92 END

  ViewVC Help
Powered by ViewVC 1.1.22