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

Contents of /MITgcm/pkg/aim_compon_interf/atm_store_seaice.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_SEAICE( bi,bj,
9 I myTime,
10 I myIter,
11 I myThid )
12 C /==========================================================\
13 C | SUBROUTINE ATM_STORE_SEAICE |
14 C | o Routine for saving atmos. Sea-Ice Mass from thSIce pkg |
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 #include "SIZE.h"
23
24 #include "EEPARAMS.h"
25 #include "PARAMS.h"
26 #include "CPL_PARAMS.h"
27 #ifdef ALLOW_THSICE
28 #include "THSICE_PARAMS.h"
29 #include "THSICE_VARS.h"
30 #endif
31 C == Global variables for coupling interface ==
32 #include "ATMCPL.h"
33
34
35 C == Routine arguments ==
36 C bi,bj - Tile index
37 C myThid - Thread number for this instance of the routine
38 C myIter - Current timestep number
39 C myTime - Current model time
40 INTEGER bi, bj
41 _RL myTime
42 INTEGER myIter
43 INTEGER myThid
44 CEndOfInterface
45
46 #ifdef ALLOW_THSICE
47 C == Local variables ==
48 C i,j - Loop counters
49 INTEGER i,j
50 _RL cplTimeFraction
51
52 C o Accumulate Sea-Ice Mass from thSIce pkg that will be exported
53 C to the coupling layer. seaIceMass is per surface unit, in kg/m2.
54 cplTimeFraction = 1. _d 0 / DFLOAT(cplSendFrq_iter)
55 seaIceTime(bi,bj) = seaIceTime(bi,bj) + cplTimeFraction
56 C- Needs really to store the last time-step value and not the average
57 cplTimeFraction = 1. _d 0
58 seaIceTime(bi,bj) = cplTimeFraction
59 DO j=1,sNy
60 DO i=1,sNx
61 c seaIceMass(i,j,bi,bj) = seaIceMass(i,j,bi,bj) +
62 seaIceMass(i,j,bi,bj) =
63 & ( snowHeight(i,j,bi,bj)*rhos
64 & + iceHeight(i,j,bi,bj)*rhoi
65 & )*iceMask(i,j,bi,bj)*cplTimeFraction
66 ENDDO
67 ENDDO
68
69 #endif /* ALLOW_THSICE */
70
71 RETURN
72 END

  ViewVC Help
Powered by ViewVC 1.1.22