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

Contents of /MITgcm/pkg/aim_compon_interf/atm_export_atmconfig.F

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


Revision 1.2 - (show annotations) (download)
Mon Sep 14 16:29:30 2009 UTC (14 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62, checkpoint61v, checkpoint61w, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.1: +14 -3 lines
fix for the case where REAL4_IS_SLOW is undef

1 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_export_atmconfig.F,v 1.1 2003/12/15 02:44:48 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE ATM_EXPORT_ATMCONFIG( myThid )
8 C /==========================================================\
9 C | SUBROUTINE ATM_EXPORT_ATMCONFIG |
10 C | o Routine for exporting atmos. config to coupling level. |
11 C |==========================================================|
12 C | This version talks to the MIT Coupler. It uses the MIT |
13 C | Coupler "checkpoint1" library calls. |
14 C \==========================================================/
15 IMPLICIT NONE
16
17 C == Global variables ==
18 #include "SIZE.h"
19 #include "EEPARAMS.h"
20 #include "GRID.h"
21 #include "ATMIDS.h"
22
23 C == Routine arguments ==
24 C myThid - Thread number for this instance of the routine
25 INTEGER myThid
26 CEndOfInterface
27
28 C == Local variables ==
29 Real*8 tmpBuf8(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
30 INTEGER i,j,bi,bj
31
32 C Send my configuration information to the coupler
33 C o Send atmos. model orography map
34 DO bj = myByLo(myThid), myByHi(myThid)
35 DO bi = myBxLo(myThid), myBxHi(myThid)
36 DO j=1-Oly,sNy+Oly
37 DO i=1-Olx,sNx+Olx
38 tmpBuf8(i,j,bi,bj) = Ro_surf(i,j,bi,bj)
39 ENDDO
40 ENDDO
41 ENDDO
42 ENDDO
43 CALL COMPSEND_R8TILES( atmDepthName,
44 I sNx, OLx, sNy, OLy, 1, nSx, nSy, tmpBuf8 )
45
46 RETURN
47 END

  ViewVC Help
Powered by ViewVC 1.1.22