forked from altMITgcm/MITgcm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpl_recv_ocn_ocnconfig.F
51 lines (40 loc) · 1.38 KB
/
cpl_recv_ocn_ocnconfig.F
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
C $Header: /u/gcmpack/MITgcm/pkg/atm2d/cpl_recv_ocn_ocnconfig.F,v 1.3 2013/12/02 23:54:43 jmc Exp $
C $Name: $
#include "ATM2D_OPTIONS.h"
CBOP 0
C !ROUTINE: CPL_RECV_OCN_OCNCONFIG
C !INTERFACE:
SUBROUTINE CPL_RECV_OCN_OCNCONFIG
C !DESCRIPTION:
C *==========================================================*
C | SUBROUTINE CPL_RECV_OCN_OCNCONFIG
C | o Routine for receiving ocean config into coupling level.
C *==========================================================*
C | This version talks to the MITgcm general circulation
C | model. For now just get the models depth map.
C *==========================================================*
#ifdef ATM2D_MPI_ON
C !USES:
IMPLICIT NONE
C == Global variables ==
#include "OCNSIZE.h"
#include "OCNVARS.h"
#include "OCNIDS.h"
c#include "CPL_PARAMS.h"
C !INPUT/OUTPUT PARAMETERS:
C !LOCAL VARIABLES:
INTEGER tmpFld(1)
CEOP
C Get config from ocean component
C o receive number of coupler time-steps the ocean will do
CALL COUPRECV_I4VEC( ocnCompName,
I 'nCouplingSteps', 1,
O tmpFld )
c nSteps_ocn = tmpFld(1)
C o receive Ocean Mixed-Layer Depth
CALL COUPRECV_R8TILES( ocnCompName,
I ocnMxlDName, Nx_ocn, Ny_ocn,
O OcMxlD_ocn )
#endif /* ATM2D_MPI_ON */
RETURN
END