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

Annotation 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.3 - (hide annotations) (download)
Thu Dec 24 16:49:08 2009 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint63, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.2: +31 -17 lines
multi-threaded: can now reach the end of initialisation before stopping

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

  ViewVC Help
Powered by ViewVC 1.1.22