/[MITgcm]/MITgcm/pkg/atm2d/cpl_send_ocn_atmconfig.F
ViewVC logotype

Annotation of /MITgcm/pkg/atm2d/cpl_send_ocn_atmconfig.F

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


Revision 1.3 - (hide annotations) (download)
Mon Dec 2 23:54:43 2013 UTC (10 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.2: +34 -24 lines
make similar modifs as in pkg/atm_ocn_coupler to account for changes
in pkg/compon_communic and pkg/ocn_compon_interf.

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/pkg/atm_ocn_coupler/cpl_send_ocn_atmconfig.F,v 1.3 2006/06/15 23:29:17 jmc Exp $
2 jmc 1.2 C $Name: $
3    
4 jscott 1.1 #include "ATM2D_OPTIONS.h"
5    
6 jmc 1.3 CBOP 0
7     C !ROUTINE: CPL_SEND_OCN_ATMCONFIG
8    
9     C !INTERFACE:
10 jscott 1.1 SUBROUTINE CPL_SEND_OCN_ATMCONFIG
11 jmc 1.3
12     C !DESCRIPTION:
13     C *==========================================================*
14     C | SUBROUTINE CPL_SEND_OCN_ATMCONFIG
15     C | o Routine for sending atmos. config to ocean component.
16     C *==========================================================*
17     C | This version talks to the MITgcm general circulation
18     C | model. For now just send atmosphere land/sea mask.
19     C *==========================================================*
20    
21     #ifdef ATM2D_MPI_ON
22     C !USES:
23 jscott 1.1 IMPLICIT NONE
24     C == Global variables ==
25 jmc 1.3 c#include "ATMSIZE.h"
26     c#include "ATMVARS.h"
27     #include "ATMIDS.h"
28 jscott 1.1 #include "OCNSIZE.h"
29     #include "OCNVARS.h"
30     #include "OCNIDS.h"
31    
32 jmc 1.3 C !INPUT/OUTPUT PARAMETERS:
33     C !LOCAL VARIABLES:
34 jscott 1.1 INTEGER i,j
35 jmc 1.3 CEOP
36 jscott 1.1
37 jmc 1.3 C Map atmos. depth map onto ocean grid
38     c CALL ATM_TO_OCN_MAPXYR8(
39     c I Nx_atm, Ny_atm,
40     c I landMask_atm,
41     c I Nx_ocn, Ny_ocn,
42     c O landMask_ocn)
43 jscott 1.1 DO i=1,Nx_ocn
44     DO j=1,Ny_ocn
45 jmc 1.3 landMask_ocn(i,j)= 0.5 !ocean code checks for this
46 jscott 1.1 ENDDO
47     ENDDO
48    
49 jmc 1.3 C Send atmos. config to ocean component
50     CALL COUPSEND_R8TILES( ocnCompName, atmLandName, Nx_ocn, Ny_ocn,
51     & landMask_ocn )
52 jmc 1.2
53 jmc 1.3 #endif /* ATM2D_MPI_ON */
54 jscott 1.1
55     RETURN
56     END

  ViewVC Help
Powered by ViewVC 1.1.22