/[MITgcm]/MITgcm/pkg/atm_compon_interf/atm_store_runoff.F
ViewVC logotype

Annotation of /MITgcm/pkg/atm_compon_interf/atm_store_runoff.F

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


Revision 1.2 - (hide annotations) (download)
Fri May 21 20:00:48 2004 UTC (20 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint53f_post, checkpoint54a_pre, checkpoint55c_post, checkpoint57b_post, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64n, checkpoint64a, checkpoint57o_post, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint58e_post, checkpoint57v_post, checkpoint53d_post, checkpoint58u_post, checkpoint57f_post, checkpoint57s_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint53c_post, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint64, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint54a_post, checkpoint57m_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint54b_post, checkpoint58t_post, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint54d_post, checkpoint56c_post, checkpoint54e_post, checkpoint58j_post, checkpoint55b_post, checkpoint57h_post, checkpoint57y_pre, checkpoint55, checkpoint57f_pre, checkpoint57a_post, checkpoint54, checkpoint58q_post, checkpoint54f_post, checkpoint59q, checkpoint59p, checkpoint55g_post, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint53g_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint57c_post, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint55e_post, checkpoint58k_post, checkpoint58v_post, checkpoint55a_post, checkpoint53d_pre, checkpoint54c_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.1: +24 -21 lines
new version of atmosphere-coupler interface for AIM+thSIce and ocean models

1 jmc 1.2 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_store_runoff.F,v 1.1 2003/12/15 02:44:48 jmc Exp $
2     C $Name: $
3 jmc 1.1
4 jmc 1.2 #include "PACKAGES_CONFIG.h"
5     #include "CPP_OPTIONS.h"
6 jmc 1.1
7     CStartOfInterface
8     SUBROUTINE ATM_STORE_RUNOFF( bi,bj,
9 jmc 1.2 I myTime,
10     I myIter,
11 jmc 1.1 I myThid )
12     C /==========================================================\
13     C | SUBROUTINE ATM_STORE_RUNOFF |
14     C | o Routine for saving atmos. RunOff from land bucket |
15     C | for export to coupling layer. |
16     C |==========================================================|
17     C | This version interfaces to the LAND package. |
18     C \==========================================================/
19     IMPLICIT NONE
20    
21     C == Global variables ==
22 jmc 1.2 #ifdef ALLOW_LAND
23 jmc 1.1 #include "LAND_SIZE.h"
24 jmc 1.2 #else
25     #include "SIZE.h"
26     #endif
27 jmc 1.1
28     #include "EEPARAMS.h"
29     #include "PARAMS.h"
30 jmc 1.2 #include "CPL_PARAMS.h"
31    
32     #ifdef ALLOW_LAND
33 jmc 1.1 c #include "LAND_PARAMS.h"
34     #include "LAND_VARS.h"
35 jmc 1.2 #endif
36 jmc 1.1 C == Global variables for coupling interface ==
37     #include "ATMCPL.h"
38    
39    
40     C == Routine arguments ==
41 jmc 1.2 C bi,bj - Tile index
42     C myThid - Thread number for this instance of the routine
43     C myIter - Current timestep number
44     C myTime - Current model time
45 jmc 1.1 INTEGER bi, bj
46 jmc 1.2 _RL myTime
47     INTEGER myIter
48 jmc 1.1 INTEGER myThid
49     CEndOfInterface
50    
51     #ifdef ALLOW_LAND
52     C == Local variables ==
53     C I,J,K,II - Loop counters
54     C conv_precip :: conversion factor for precip: from g.m-2.s-1 to m/s
55     INTEGER I,J,K
56     _RL cplTimeFraction
57    
58     C o Accumulate RunOff from land bucket that will be exported to the
59     C coupling layer. RunOff is per surface unit, in m/s.
60 jmc 1.2 cplTimeFraction = 1. _d 0 / DFLOAT(cplSendFrq_iter)
61     RunOffTime(bi,bj) = RunOffTime(bi,bj) + cplTimeFraction
62     DO J=1,sNy
63 jmc 1.1 DO I=1,sNx
64     RunOffFlux(I,J,bi,bj) = RunOffFlux(I,J,bi,bj)
65     & + land_runOff(I,J,bi,bj)*cplTimeFraction
66     ENDDO
67 jmc 1.2 ENDDO
68 jmc 1.1
69     #endif /* ALLOW_LAND */
70    
71     RETURN
72     END

  ViewVC Help
Powered by ViewVC 1.1.22