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

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

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


Revision 1.1 - (show annotations) (download)
Wed Sep 11 20:17:27 2013 UTC (10 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64o, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint65p, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint65
- regroup per field origin (model & pkgs) the coupling storage routines
   (which accumalate in time each coupling field)
- move bi,bj loops inside atm_store_my_data.F and store alos wind-stress;
  update accordingly + simplify aim_do_physics.F

1 C $Header: /u/gcmpack/MITgcm/pkg/atm_compon_interf/atm_store_atmslp.F,v 1.1 2004/05/21 19:59:38 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: ATM_STORE_DYNVARS
8 C !INTERFACE:
9 SUBROUTINE ATM_STORE_DYNVARS(
10 I bi, bj,
11 I myTime, myIter, myThid )
12
13 C !DESCRIPTION: \bv
14 C *==========================================================*
15 C | SUBROUTINE ATM_STORE_DYNVARS
16 C | o Routine for saving dynamical fields (e.g., atmos.
17 C | sea-level pressure ) for export to coupling layer.
18 C *==========================================================*
19 C | This version interfaces to the main model
20 C *==========================================================*
21 C \ev
22
23 C !USES:
24 IMPLICIT NONE
25
26 C == Global variables ==
27 #include "SIZE.h"
28
29 #include "EEPARAMS.h"
30 #include "PARAMS.h"
31 #include "CPL_PARAMS.h"
32 C == Global variables (main model)
33 #include "DYNVARS.h"
34 C == Global variables for coupling interface ==
35 #include "ATMCPL.h"
36
37 C !INPUT/OUTPUT PARAMETERS:
38 C bi, bj :: Tile indices
39 C myTime :: Current time in simulation (s)
40 C myIter :: Current iteration number
41 C myThid :: My Thread Id. number
42 INTEGER bi, bj
43 _RL myTime
44 INTEGER myIter
45 INTEGER myThid
46
47 C !LOCAL VARIABLES:
48 C i, j :: Loop counters
49 INTEGER i,j
50 _RL cplTimeFraction
51 CEOP
52
53 C o Accumulate Sea-level pressure anomaly from dynamical core
54 C to the coupling layer. Eta is in Pa
55 cplTimeFraction = 1. _d 0 / DFLOAT(cplSendFrq_iter)
56 atmSLPrTime(bi,bj) = atmSLPrTime(bi,bj) + cplTimeFraction
57 DO j=1,sNy
58 DO i=1,sNx
59 atmSLPr(i,j,bi,bj) = atmSLPr(i,j,bi,bj)
60 & + etaN(i,j,bi,bj)*cplTimeFraction
61 ENDDO
62 ENDDO
63
64 RETURN
65 END

  ViewVC Help
Powered by ViewVC 1.1.22