/[MITgcm]/MITgcm/model/src/do_atmospheric_phys.F
ViewVC logotype

Contents of /MITgcm/model/src/do_atmospheric_phys.F

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


Revision 1.7 - (show annotations) (download)
Fri Nov 4 01:19:25 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint60, checkpoint61, checkpoint58r_post, checkpoint57y_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint57x_post, checkpoint58d_post, checkpoint58c_post, checkpoint58a_post, checkpoint58i_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint58b_post, checkpoint58m_post
Changes since 1.6: +4 -3 lines
remove unused variables (reduces number of compiler warning)

1 C $Header: /u/gcmpack/MITgcm/model/src/do_atmospheric_phys.F,v 1.6 2005/05/23 19:31:39 molod Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 CBOP
8 C !ROUTINE: DO_ATMOSPHERIC_PHYS
9 C !INTERFACE:
10 SUBROUTINE DO_ATMOSPHERIC_PHYS(myTime, myIter, myThid)
11 C !DESCRIPTION: \bv
12 C *==========================================================*
13 C | SUBROUTINE DO_ATMOSPHERIC_PHYS
14 C | o Controlling routine for atmospheric physics and
15 C | parameterization
16 C *==========================================================*
17 C | o originally, part of S/R thermodynamics & forward_step
18 C *==========================================================*
19 C \ev
20
21 C !USES:
22 IMPLICIT NONE
23 C == Global variables ===
24 #include "SIZE.h"
25 #include "EEPARAMS.h"
26 #include "PARAMS.h"
27
28 C !INPUT/OUTPUT PARAMETERS:
29 C == Routine arguments ==
30 C myTime - Current time in simulation
31 C myIter - Current iteration number in simulation
32 C myThid - Thread number for this instance of the routine.
33 _RL myTime
34 INTEGER myIter
35 INTEGER myThid
36 CEOP
37
38 C !LOCAL VARIABLES:
39 C == Local variables
40 C bi, bj
41 #ifdef ALLOW_AIM
42 INTEGER bi, bj
43 #endif
44
45 #ifdef ALLOW_DEBUG
46 IF ( debugLevel .GE. debLevB )
47 & CALL DEBUG_ENTER('DO_ATMOSPHERIC_PHYS',myThid)
48 #endif
49
50 C AMM
51 #ifdef ALLOW_FIZHI
52 if( useFIZHI) then
53 CALL TIMER_START('FIZHI [DO_ATMOSPHERIC_PHYS]',myThid)
54 CALL UPDATE_OCEAN_EXPORTS ( myTime, myIter, myThid )
55 CALL UPDATE_EARTH_EXPORTS ( myTime, myIter, myThid )
56 CALL UPDATE_CHEMISTRY_EXPORTS ( myTime, myIter, myThid )
57 CALL FIZHI_WRAPPER ( myTime, myIter, myThid )
58 CALL STEP_FIZHI_FG ( myTime, myIter, myThid, dTtracerLev(1) )
59 CALL FIZHI_UPDATE_TIME ( myIter, myThid, deltaTclock )
60 CALL TIMER_STOP ('FIZHI [DO_ATMOSPHERIC_PHYS]',myThid)
61 endif
62 #endif
63 C AMM
64
65 #ifdef ALLOW_AIM
66 DO bj=myByLo(myThid),myByHi(myThid)
67 DO bi=myBxLo(myThid),myBxHi(myThid)
68
69 C AIM - atmospheric intermediate model, physics package code.
70 IF ( useAIM ) THEN
71 #ifdef ALLOW_DEBUG
72 IF ( debugLevel .GE. debLevB )
73 & CALL DEBUG_CALL('AIM_DO_PHYSICS',myThid)
74 #endif
75 CALL TIMER_START('AIM_DO_PHYSICS [DO_ATMOSPHERIC_PHYS]',myThid)
76 CALL AIM_DO_PHYSICS( bi, bj, myTime, myIter, myThid )
77 CALL TIMER_STOP( 'AIM_DO_PHYSICS [DO_ATMOSPHERIC_PHYS]',myThid)
78 ENDIF
79
80 C-- end bi,bj loops.
81 ENDDO
82 ENDDO
83 #endif /* ALLOW_AIM */
84
85 #ifdef ALLOW_AIM
86 IF ( useAIM ) THEN
87 CALL AIM_AIM2DYN_EXCHANGES( myTime, myIter, myThid )
88 ENDIF
89 #endif /* ALLOW_AIM */
90
91 #ifdef ALLOW_DEBUG
92 IF ( debugLevel .GE. debLevB )
93 & CALL DEBUG_LEAVE('DO_ATMOSPHERIC_PHYS',myThid)
94 #endif
95
96 RETURN
97 END

  ViewVC Help
Powered by ViewVC 1.1.22