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

Contents of /MITgcm/pkg/atm_compon_interf/atm_store_wspeed.F

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


Revision 1.1 - (show annotations) (download)
Mon Jun 18 21:28:52 2007 UTC (16 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64c, checkpoint64b, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, 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, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
import/export fields needed for DIC from/to Coupler interface

1 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_store_seaice.F,v 1.1 2004/05/21 19:59:38 jmc Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 CBOP
8 C !ROUTINE: ATM_STORE_WSPEED
9 C !INTERFACE:
10 SUBROUTINE ATM_STORE_WSPEED( bi,bj,
11 I myTime, myIter, myThid )
12
13 C !DESCRIPTION: \bv
14 C *==========================================================*
15 C | SUBROUTINE ATM_STORE_WSPEED
16 C | o Routine for saving atmos. surface wind-speed from AIM
17 C | pkg for export to coupling layer.
18 C *==========================================================*
19 C | This version interfaces to the AIM package.
20 C *==========================================================*
21 C \ev
22
23 C !USES:
24 IMPLICIT NONE
25
26 C == Global variables ==
27 #ifdef ALLOW_AIM
28 # include "AIM_SIZE.h"
29 #else
30 # include "SIZE.h"
31 #endif
32
33 #include "EEPARAMS.h"
34 #include "PARAMS.h"
35 #include "CPL_PARAMS.h"
36 #ifdef ALLOW_AIM
37 # include "com_physvar.h"
38 #endif
39 C == Global variables for coupling interface ==
40 #include "ATMCPL.h"
41
42 C !INPUT/OUTPUT PARAMETERS:
43 C == Routine arguments ==
44 C bi,bj :: Tile indices
45 C myTime :: Current model time
46 C myIter :: Current timestep number
47 C myThid :: my Thread Id number
48 INTEGER bi, bj
49 _RL myTime
50 INTEGER myIter
51 INTEGER myThid
52 CEOP
53
54 #ifdef ALLOW_AIM
55 C == Local variables ==
56 C i,j :: Loop counters
57 INTEGER i,j, ij
58 _RL cplTimeFraction
59
60 C o Accumulate Sea-Ice Mass from thSIce pkg that will be exported
61 C to the coupling layer. seaIceMass is per surface unit, in kg/m2.
62 cplTimeFraction = 1. _d 0 / DFLOAT(cplSendFrq_iter)
63 sWSpeedTime(bi,bj) = sWSpeedTime(bi,bj) + cplTimeFraction
64 DO j=1,sNy
65 DO i=1,sNx
66 ij = i + (j-1)*sNx
67 sWSpeed(i,j,bi,bj) = sWSpeed(i,j,bi,bj)
68 & + SPEED0(ij,myThid)*cplTimeFraction
69 ENDDO
70 ENDDO
71
72 #endif /* ALLOW_AIM */
73
74 RETURN
75 END

  ViewVC Help
Powered by ViewVC 1.1.22