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

Contents of /MITgcm/pkg/ocn_compon_interf/ocn_export_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, 1 month 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: +8 -1 lines
permit exchange of carbon variables between coupler <-> ocean

1 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/ocn_export_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_EXPORT_FIELDS( myThid )
9 C /==========================================================\
10 C | SUBROUTINE OCN_EXPORT_FIELDS |
11 C | o Routine for exporting oceanic fields |
12 C | to the coupling layer. |
13 C |==========================================================|
14 C | This version talks to the MIT Coupler. It uses the MIT |
15 C | Coupler "checkpoint1" 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 == Local variables ==
31
32 C- Send Oceanic fields to coupling layer
33 C Note: 1) Information is sent on the ocean model grid.
34 C 2) MIT Coupler checkpoint1 does not allow asynchronous posting of
35 C data, so ordering has to be consistent with coupling layer ordering
36
37 C- Send Ocean mixed-layer depth to coupling layer
38 CALL COMPSEND_R8TILES( ocnMxlDName,
39 I sNx, OLx, sNy, OLy, 1, nSx, nSy, ocMxlD2cpl )
40
41 C- Send sea-surface temperature to coupling layer
42 CALL COMPSEND_R8TILES( ocnSSTName,
43 I sNx, OLx, sNy, OLy, 1, nSx, nSy, SSTocn2cpl )
44
45 C- Send sea-surface salinity to coupling layer
46 CALL COMPSEND_R8TILES( ocnSSSName,
47 I sNx, OLx, sNy, OLy, 1, nSx, nSy, SSSocn2cpl )
48
49 C- Send ocean surface velocity square to coupling layer
50 CALL COMPSEND_R8TILES( ocnSSVsqName,
51 I sNx, OLx, sNy, OLy, 1, nSx, nSy, vSqocn2cpl )
52
53 IF ( ocnCpl_exchange_DIC ) THEN
54 C- Send ocean CO2 flux to coupling layer
55 CALL COMPSEND_R8TILES( ocnFCO2Name,
56 I sNx, OLx, sNy, OLy, 1, nSx, nSy, fluxCO2cpl )
57 ENDIF
58
59 RETURN
60 END

  ViewVC Help
Powered by ViewVC 1.1.22