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

Contents of /MITgcm/pkg/aim_compon_interf/atm_store_roenfx.F

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


Revision 1.1 - (show annotations) (download)
Fri May 21 19:59:38 2004 UTC (19 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint53f_post, checkpoint54a_pre, checkpoint55c_post, checkpoint57b_post, 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
new version of atmosphere-coupler interface for AIM+thSIce and ocean models

1 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
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 CStartOfInterface
8 SUBROUTINE ATM_STORE_ROENFX( bi,bj,
9 I myTime,
10 I myIter,
11 I myThid )
12 C /==========================================================\
13 C | SUBROUTINE ATM_STORE_ROENFX |
14 C | o Routine for saving atmos. RunOff Energy Flux from land |
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 #ifdef ALLOW_LAND
23 #include "LAND_SIZE.h"
24 #else
25 #include "SIZE.h"
26 #endif
27
28 #include "EEPARAMS.h"
29 #include "PARAMS.h"
30 #include "CPL_PARAMS.h"
31
32 #ifdef ALLOW_LAND
33 c #include "LAND_PARAMS.h"
34 #include "LAND_VARS.h"
35 #endif
36 C == Global variables for coupling interface ==
37 #include "ATMCPL.h"
38
39
40 C == Routine arguments ==
41 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 INTEGER bi, bj
46 _RL myTime
47 INTEGER myIter
48 INTEGER myThid
49 CEndOfInterface
50
51 #ifdef ALLOW_LAND
52 C == Local variables ==
53 C i,j :: Loop counters
54 INTEGER i,j
55 _RL cplTimeFraction
56
57 C o Accumulate RunOff Energy from land bucket that will be exported
58 C to the coupling layer. RunOff Energy is per surface unit, in W/m2.
59 cplTimeFraction = 1. _d 0 / DFLOAT(cplSendFrq_iter)
60 ROEnFxTime(bi,bj) = ROEnFxTime(bi,bj) + cplTimeFraction
61 DO j=1,sNy
62 DO i=1,sNx
63 RunOffEnFx(i,j,bi,bj) = RunOffEnFx(i,j,bi,bj)
64 & + land_enRnOf(i,j,bi,bj)*cplTimeFraction
65 ENDDO
66 ENDDO
67
68 #endif /* ALLOW_LAND */
69
70 RETURN
71 END

  ViewVC Help
Powered by ViewVC 1.1.22