/[MITgcm]/MITgcm/pkg/atm_ocn_coupler/atm_to_ocn_maprunoff.F
ViewVC logotype

Contents of /MITgcm/pkg/atm_ocn_coupler/atm_to_ocn_maprunoff.F

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


Revision 1.3 - (show annotations) (download)
Thu Jun 15 23:29:17 2006 UTC (17 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint58l_post, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint58u_post, checkpoint58w_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint58r_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58o_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58k_post, checkpoint58v_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, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58m_post
Changes since 1.2: +1 -1 lines
check-in those files again (deleted accidentally)

1 C $Header: /u/gcmpack/MITgcm/pkg/aim_ocn_coupler/atm_to_ocn_maprunoff.F,v 1.1 2003/12/15 02:28:00 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE ATM_TO_OCN_MAPRUNOFF(
8 I fld_atm,
9 U fld_ocn )
10 C *==========================================================*
11 C | SUBROUTINE ATM_TO_OCN_MAPRUNOFF
12 C | o maps RunOff from atmos. grid (land) to ocean grid
13 C | and Incorporate to ocean FreshWater flux
14 C *==========================================================*
15 IMPLICIT NONE
16
17 #include "ATMSIZE.h"
18 #include "OCNSIZE.h"
19 #include "CPL_MAP2GRIDS.h"
20
21 C == Routine arguments ==
22 C fld_atm - Atmos. grid field
23 C fld_ocn - Ocean grid field (atmos field will be mapped to this field)
24 _RL fld_atm(Nx_atm*Ny_atm)
25 _RL fld_ocn(Nx_ocn*Ny_ocn)
26 CEndOfInterface
27
28 C == Local variables ==
29 INTEGER n, ijo, ija
30
31 C Set to zero's everywhere
32 c DO ijo=1,Nx_ocn*Ny_ocn
33 c fld_ocn(ijo)=0.
34 c ENDDO
35
36 C Maps Runoff from land grid point to ocean grid point
37 C and update oceanic FreshWater flux (substract RunOff)
38 DO n=1,nROmap
39 ijo=ijROocn(n)
40 ija=ijROatm(n)
41 fld_ocn(ijo)=fld_ocn(ijo)
42 & -fld_atm(ija)*arROmap(n)
43 ENDDO
44
45 RETURN
46 END

  ViewVC Help
Powered by ViewVC 1.1.22