/[MITgcm]/MITgcm/pkg/aim_ocn_coupler/cpl_send_ocn_fwflux.F
ViewVC logotype

Contents of /MITgcm/pkg/aim_ocn_coupler/cpl_send_ocn_fwflux.F

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


Revision 1.1 - (show annotations) (download)
Mon Dec 15 02:28:01 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52i_pre, checkpoint53b_pre, checkpoint52j_post, checkpoint52j_pre, checkpoint52l_post, checkpoint52k_post, checkpoint52l_pre, checkpoint52e_pre, hrcube4, hrcube5, checkpoint53b_post, checkpoint53, checkpoint52n_post, checkpoint52d_post, checkpoint52e_post, checkpoint52i_post, checkpoint52f_post, checkpoint52m_post, checkpoint52h_pre, checkpoint53a_post, checkpoint52f_pre, hrcube_2, hrcube_3
check-in the first version of the coupler for multi-components set-up.

1 C $Header: $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE CPL_SEND_OCN_FWFLUX
8 C /==========================================================\
9 C | SUBROUTINE CPL_SEND_OCN_FWFLUX |
10 C | o Routine for sending fresh water flux to ocean component|
11 C |==========================================================|
12 C | This version talks to the MITgcm general circulation |
13 C | model. |
14 C \==========================================================/
15 IMPLICIT NONE
16
17 C == Global variables ==
18 #include "ATMSIZE.h"
19 #include "ATMVARS.h"
20 #include "ATMIDS.h"
21 #include "OCNSIZE.h"
22 #include "OCNVARS.h"
23 #include "OCNIDS.h"
24
25 C == Routine arguments ==
26
27 C == Local variables ==
28
29 CEndOfInterface
30
31 C Map atmos. fresh water flux onto ocean grid : Evap - Precip
32 CALL ATM_TO_OCN_MAPXYR8(
33 I Nx_atm, Ny_atm,
34 I EvMPr_atm,
35 I Nx_ocn, Ny_ocn,
36 O FWFlux_ocn)
37
38 C Map atmos. runOff from land onto ocean grid and substract it
39 C from previous (direct) FWFlux => total FWFlux = E-P-R
40 CALL ATM_TO_OCN_MAPRUNOFF(
41 I RunOff_atm,
42 U FWFlux_ocn)
43
44 C Send atmos. config to ocean component
45 CALL COUPSEND_R8TILES( ocnCompName, ocnFWFluxName, Nx_ocn, Ny_ocn,
46 & FWFlux_ocn )
47
48 RETURN
49 END

  ViewVC Help
Powered by ViewVC 1.1.22