/[MITgcm]/MITgcm_contrib/jscott/pkg_atm2d/cpl_send_ocn_atmconfig.F
ViewVC logotype

Annotation of /MITgcm_contrib/jscott/pkg_atm2d/cpl_send_ocn_atmconfig.F

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


Revision 1.2 - (hide annotations) (download)
Tue Aug 22 20:21:38 2006 UTC (19 years, 7 months ago) by jscott
Branch: MAIN
Changes since 1.1: +9 -3 lines
new revision of atm2d package

1 jscott 1.2 #include "ATM2D_OPTIONS.h"
2 jscott 1.1 #ifdef ATM2D_MPI_ON
3    
4     CStartOfInterface
5     SUBROUTINE CPL_SEND_OCN_ATMCONFIG
6     C /==========================================================\
7     C | SUBROUTINE CPL_SEND_OCN_ATMCONFIG |
8     C | o Routine for sending atmos. config to ocean component. |
9     C |==========================================================|
10     C | This version talks to the MITgcm general circulation |
11     C | model. For now just send atmosphere depths. |
12     C \==========================================================/
13     IMPLICIT NONE
14    
15     C == Global variables ==
16     CJRS#include "ATMSIZE.h"
17     CJRS#include "ATMVARS.h"
18     CJRS#include "ATMIDS.h"
19     #include "OCNSIZE.h"
20     #include "OCNVARS.h"
21     #include "OCNIDS.h"
22    
23     C == Routine arguments ==
24    
25     C == Local variables ==
26     CHARACTER*(10) atmDepthName
27     PARAMETER( atmDepthName = 'ATM Depths' )
28 jscott 1.2 INTEGER i,j
29 jscott 1.1
30     CEndOfInterface
31    
32     C Map atmos. depth map onto ocean grid
33     CJRS CALL ATM_TO_OCN_MAPXYR8(
34     C I Nx_atm, Ny_atm,
35     C I AtmDepths_atm,
36     C I Nx_ocn, Ny_ocn,
37     C O AtmDepths_ocn)
38    
39     CJRS ask J-M if should be initialized?
40 jscott 1.2
41     DO i=1,Nx_ocn
42     DO j=1,Ny_ocn
43     AtmDepths_ocn(i,j)=1. _d 5 !ocean code checks for this
44     ENDDO
45     ENDDO
46    
47 jscott 1.1
48     C Send atmos. config to ocean component
49     CALL COUPSEND_R8TILES( ocnCompName, atmDepthName, Nx_ocn, Ny_ocn,
50     & AtmDepths_ocn )
51    
52     RETURN
53     END
54    
55     #endif

  ViewVC Help
Powered by ViewVC 1.1.22