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

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

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


Revision 1.4 - (show annotations) (download)
Thu Nov 12 00:53:46 2015 UTC (8 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, HEAD
Changes since 1.3: +24 -6 lines
add OCN_CPL_OPTIONS.h in component pkg and include it in all pkg source files.

1 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/ocn_import_atmconfig.F,v 1.3 2013/12/02 22:16:19 jmc Exp $
2 C $Name: $
3
4 #include "OCN_CPL_OPTIONS.h"
5
6 CBOP 0
7 C !ROUTINE: OCN_IMPORT_ATMCONFIG
8
9 C !INTERFACE:
10 SUBROUTINE OCN_IMPORT_ATMCONFIG( myThid )
11
12 C !DESCRIPTION:
13 C *==========================================================*
14 C | SUBROUTINE OCN_IMPORT_ATMCONFIG
15 C | o Routine for importing atmos. config
16 C | into ocean component.
17 C *==========================================================*
18 C | This version talks to the MIT Coupler. It uses the
19 C | MIT Coupler "checkpoint 1" library calls.
20 C *==========================================================*
21
22 C !USES:
23 IMPLICIT NONE
24 C == Global variables ==
25 #include "SIZE.h"
26 #include "EEPARAMS.h"
27 #include "ATMIDS.h"
28 #include "OCNCPL.h"
29
30 C !INPUT/OUTPUT PARAMETERS:
31 C == Routine arguments ==
32 C myThid :: Thread number for this instance of the routine
33 INTEGER myThid
34 CEOP
35
36 C !LOCAL VARIABLES:
37 C == Local variables ==
38 C i,j,bi,bj :: Loop counters
39 INTEGER i,j,bi,bj
40
41 C- Initialise land-mask
42 DO bj=myByLo(myThid),myByHi(myThid)
43 DO bi=myBxLo(myThid),myByLo(myThid)
44 DO j=1-OLy,sNy+OLy
45 DO i=1-OLx,sNx+OLx
46 landMask(i,j,bi,bj) = 0.
47 ENDDO
48 ENDDO
49 ENDDO
50 ENDDO
51
52 C- Receive atmos. model configuration info.
53 _BARRIER
54 _BEGIN_MASTER( myThid )
55
56 C o Import atmosphere model land-mask
57 CALL COMPRECV_R8TILES(
58 I atmLandName, sNx, OLx, sNy, OLy, 1, nSx, nSy,
59 O landMask )
60
61 _END_MASTER( myThid )
62 _BARRIER
63
64 RETURN
65 END

  ViewVC Help
Powered by ViewVC 1.1.22