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

Log of /MITgcm/model/src/dynamics.F

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


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.178 - (view) (download) (annotate) - [select for diffs]
Mon Nov 28 23:05:05 2016 UTC (7 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD, checkpoint66b, checkpoint66c, checkpoint66d, checkpoint66e, checkpoint66f, checkpoint66g, checkpoint66h, checkpoint66i, checkpoint66j, checkpoint66k, checkpoint66l, checkpoint66m, checkpoint66n, checkpoint66o
Changes since 1.177: +3 -2 lines
Diff to previous 1.177
implement fully implicit bottom friction coupled with implicit surface
  pressure (hydrostatic only)


Revision 1.177 - (view) (download) (annotate) - [select for diffs]
Sun Oct 9 18:13:09 2016 UTC (7 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66a
Changes since 1.176: +4 -2 lines
Diff to previous 1.176
- with INCLUDE_IMPLVERTADV_CODE defined, also call MOM_U,V_IMPLICIT_R &
  GAD_IMPLICIT_R  (instead of IMPLDIFF) when just implicitViscosity and
  implicitDiffusion (respectively) are used (even without momImplVertAdv
  or temp,salt,PTRACERS_ImplVertAdv).


Revision 1.176 - (view) (download) (annotate) - [select for diffs]
Wed Dec 24 19:09:33 2014 UTC (9 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65i, checkpoint65j, checkpoint65k, checkpoint65l, checkpoint65m, checkpoint65n, checkpoint65o, checkpoint65p, checkpoint65q, checkpoint65r, checkpoint65s, checkpoint65t, checkpoint65u, checkpoint65v, checkpoint65w, checkpoint65x, checkpoint65y, checkpoint65z
Changes since 1.175: +19 -19 lines
Diff to previous 1.175
- add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
  since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
- for now and until vertical mixing scheme are updated to fill up Nr+1 level,
  just copy Nr value to Nr+1


Revision 1.175 - (view) (download) (annotate) - [select for diffs]
Tue Sep 9 22:32:09 2014 UTC (9 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65d, checkpoint65e, checkpoint65f, checkpoint65g, checkpoint65h
Changes since 1.174: +2 -2 lines
Diff to previous 1.174
Replace ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for tape/storage
 which are specific to TAF/TAMC).


Revision 1.174 - (view) (download) (annotate) - [select for diffs]
Fri Aug 15 20:41:50 2014 UTC (9 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65c
Changes since 1.173: +1 -53 lines
Diff to previous 1.173
update algorithm description (moved to forward_step.F) and calling tree
 (in the_model_main.F)


Revision 1.173 - (view) (download) (annotate) - [select for diffs]
Fri Aug 15 19:22:06 2014 UTC (9 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.172: +1 -7 lines
Diff to previous 1.172
remove gT,gS


Revision 1.172 - (view) (download) (annotate) - [select for diffs]
Thu Aug 14 16:52:40 2014 UTC (9 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.171: +5 -5 lines
Diff to previous 1.171
change gTracer argument (drop bi,bj indices) in S/R IMPLDIFF


Revision 1.171 - (view) (download) (annotate) - [select for diffs]
Thu Aug 7 17:32:03 2014 UTC (9 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65b
Changes since 1.170: +2 -11 lines
Diff to previous 1.170
move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer_integrate.F
 so that theta,salt and pTracers arrays are already updated when leaving
 S/R THERMODYANMICS while adjustments (filters, conv.adjustment) are still
 applied later, in S/R TRACERS_CORRECTION_STEP.


Revision 1.170 - (view) (download) (annotate) - [select for diffs]
Fri Apr 4 20:54:11 2014 UTC (10 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64v, checkpoint64w, checkpoint64x, checkpoint64y, checkpoint64z, checkpoint65, checkpoint65a
Changes since 1.169: +7 -4 lines
Diff to previous 1.169
- Start to include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h,
  and CTRL_OPTIONS.h in src files (to enable to skip the ECCO_CPPOPTIONS.h)
  For now, only in pkgs used in verification/hs94.1x64x5.
- Replace ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for tape/storage
  which are specific to TAF/TAMC).


Revision 1.169 - (view) (download) (annotate) - [select for diffs]
Thu Feb 6 23:16:46 2014 UTC (10 years, 2 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint64u
Changes since 1.168: +3 -1 lines
Diff to previous 1.168
- avoid recomputation.


Revision 1.168 - (view) (download) (annotate) - [select for diffs]
Fri Jan 3 16:19:04 2014 UTC (10 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64s, checkpoint64t
Changes since 1.167: +26 -42 lines
Diff to previous 1.167
remove some unnecessary TAF storage directives (note: not always removed,
 e.g., double storage of kappaRU,kappaRV in former version of dynamics.F)


Revision 1.167 - (view) (download) (annotate) - [select for diffs]
Tue Nov 5 13:34:31 2013 UTC (10 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64q, checkpoint64r
Changes since 1.166: +76 -7 lines
Diff to previous 1.166
- move to pkg/mom_common and model/src (previously in tutorial_deep_convection
  code) 2nd version of isotropic 3-D Smagorinsky code interface: strain and
  viscosity are locally declared in dynmics.F and pass as argument to CALC_GW;


Revision 1.166 - (view) (download) (annotate) - [select for diffs]
Sun Sep 15 14:28:31 2013 UTC (10 years, 7 months ago) by m_bates
Branch: MAIN
CVS Tags: checkpoint64o, checkpoint64p
Changes since 1.165: +7 -1 lines
Diff to previous 1.165
Changes to implement a residual model.  Also, calculation of the mean velocity from the residual and bolus.


Revision 1.165 - (view) (download) (annotate) - [select for diffs]
Sat Aug 3 01:38:17 2013 UTC (10 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64l, checkpoint64m, checkpoint64n
Changes since 1.164: +32 -29 lines
Diff to previous 1.164
skip the call to CALC_VISCOSITY if momViscosity=F


Revision 1.164 - (view) (download) (annotate) - [select for diffs]
Thu Mar 21 18:15:44 2013 UTC (11 years, 1 month ago) by jahn
Branch: MAIN
CVS Tags: checkpoint64f, checkpoint64g, checkpoint64h, checkpoint64i, checkpoint64j, checkpoint64k
Changes since 1.163: +3 -1 lines
Diff to previous 1.163
revert to local variables for OpenAD


Revision 1.163 - (view) (download) (annotate) - [select for diffs]
Thu Nov 15 15:55:42 2012 UTC (11 years, 5 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64b, checkpoint64c, checkpoint64d, checkpoint64e
Changes since 1.162: +2 -1 lines
Diff to previous 1.162
adding tidal velocity forcing capability to obcs
 Modified Files:
  model/src/dynamics.F forward_step.F the_main_loop.F
  pkg/obcs/OBCS_FIELDS.h OBCS_OPTIONS.h OBCS_PARAMS.h
  OBCS_SEAICE.h obcs_apply_eta.F obcs_apply_r_star.F
  obcs_apply_surf_dr.F obcs_apply_ts.F obcs_apply_w.F
  obcs_calc.F obcs_check.F obcs_init_variables.F obcs_readparms.F
  verification/seaice_obcs/code/OBCS_OPTIONS.h
 Added Files:
  pkg/obcs/obcs_add_tides.F
  verification/seaice_obcs/input.tides/*
  verification/seaice_obcs/results/output.tides.txt


Revision 1.162 - (view) (download) (annotate) - [select for diffs]
Sun Mar 18 22:19:45 2012 UTC (12 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint64
Changes since 1.161: +23 -27 lines
Diff to previous 1.161
separate fVer?(:,:,kUp) & fVer?(:,:,kDown) in argument list of MOM_FLUXFORM
 & MOM_VECINV subroutines (to help TAF).


Revision 1.161 - (view) (download) (annotate) - [select for diffs]
Mon Mar 5 18:21:12 2012 UTC (12 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63k
Changes since 1.160: +29 -31 lines
Diff to previous 1.160
update comments (calling tree)


Revision 1.160 - (view) (download) (annotate) - [select for diffs]
Thu Dec 1 14:22:27 2011 UTC (12 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63g, checkpoint63h, checkpoint63i, checkpoint63j
Changes since 1.159: +9 -9 lines
Diff to previous 1.159
change argument recip_hFac (drop bi,bj indices) in IMPLDIFF S/R


Revision 1.159 - (view) (download) (annotate) - [select for diffs]
Tue Oct 25 15:09:49 2011 UTC (12 years, 6 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint63e, checkpoint63f
Changes since 1.158: +19 -3 lines
Diff to previous 1.158
add hooks for fixed Stevens BCs code


Revision 1.158 - (view) (download) (annotate) - [select for diffs]
Wed Jun 8 01:21:14 2011 UTC (12 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62z, checkpoint63, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63d
Changes since 1.157: +3 -3 lines
Diff to previous 1.157
refine debugLevel criteria when printing messages


Revision 1.157 - (view) (download) (annotate) - [select for diffs]
Tue May 24 20:25:33 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62y
Changes since 1.156: +2 -2 lines
Diff to previous 1.156
split "OBCS.h" into 4 separated header files (OBCS_PARAMS,GRID,FIELDS,SEAICE)


Revision 1.156 - (view) (download) (annotate) - [select for diffs]
Mon May 23 00:41:09 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.155: +1 -12 lines
Diff to previous 1.155
- remove 1 storage of rStarDhCDt in momentum_correction_step.F;
- remove commented out pieces (OBCS).


Revision 1.155 - (view) (download) (annotate) - [select for diffs]
Sun Apr 17 03:16:22 2011 UTC (13 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62w, checkpoint62x
Changes since 1.154: +2 -2 lines
Diff to previous 1.154
rename obcs_prescribe_exchanges -> obcs_exchanges


Revision 1.154 - (view) (download) (annotate) - [select for diffs]
Sat Feb 26 00:42:26 2011 UTC (13 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint62t, checkpoint62u, checkpoint62v
Changes since 1.153: +5 -1 lines
Diff to previous 1.153
Spread ADJ output around to avoid zeros


Revision 1.153 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 00:57:24 2010 UTC (13 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62o, checkpoint62p, checkpoint62q, checkpoint62r, checkpoint62s
Changes since 1.152: +5 -8 lines
Diff to previous 1.152
switch some test on debugLevel value to debugMode test


Revision 1.152 - (view) (download) (annotate) - [select for diffs]
Wed Nov 17 06:05:29 2010 UTC (13 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.151: +4 -4 lines
Diff to previous 1.151
put back call to OBCS_PRESCRIBE_EXCHANGES (needed for OBCS_SPONGE)


Revision 1.151 - (view) (download) (annotate) - [select for diffs]
Mon Oct 25 23:02:35 2010 UTC (13 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62n
Changes since 1.150: +13 -12 lines
Diff to previous 1.150
- call S/R OBCS_APPLY_UV outside of k loop.
- in dynamics, only call OBCS_APPLY_UV once (instead of twice if implicitViscsity)
- remove call to OBCS_PRESCRIBE_EXCHANGES
Leave old code commented out (never sure with OBCS).


Revision 1.150 - (view) (download) (annotate) - [select for diffs]
Mon Oct 4 02:58:03 2010 UTC (13 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62l, checkpoint62m
Changes since 1.149: +37 -37 lines
Diff to previous 1.149
fix previous modif (from Sep 19, cvs version 1.149, "Separate MOM_FLUXFORM
 store directives") which was causing extensive recomputations in AD test
experiment global_ocean.cs32x15.


Revision 1.149 - (view) (download) (annotate) - [select for diffs]
Wed Sep 29 19:01:31 2010 UTC (13 years, 7 months ago) by heimbach
Branch: MAIN
Changes since 1.148: +3 -3 lines
Diff to previous 1.148
Separate MOM_FLUXFORM store directives.


Revision 1.148 - (view) (download) (annotate) - [select for diffs]
Wed Sep 15 03:41:59 2010 UTC (13 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint62k
Changes since 1.147: +12 -1 lines
Diff to previous 1.147
Adjoint compatible with combined AB3 and NLFS.


Revision 1.147 - (view) (download) (annotate) - [select for diffs]
Tue Aug 10 17:58:30 2010 UTC (13 years, 8 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint62j
Changes since 1.146: +3 -2 lines
Diff to previous 1.146
Adjoint related modifications -- allowing the
use of implicit vertical advection in adjoint model.


Revision 1.146 - (view) (download) (annotate) - [select for diffs]
Fri May 14 23:21:02 2010 UTC (13 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62g, checkpoint62h, checkpoint62i
Changes since 1.145: +3 -1 lines
Diff to previous 1.145
move initialisation of dPhiHydX,dPhiHydY (= output of S/R CALC_GRAD_PHI_HYD)
 from dynamics.F to calc_grad_phi_hyd.F


Revision 1.145 - (view) (download) (annotate) - [select for diffs]
Wed Jan 20 03:50:56 2010 UTC (14 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62b, checkpoint62c, checkpoint62d, checkpoint62e, checkpoint62f
Changes since 1.144: +24 -1 lines
Diff to previous 1.144
add pressure gradient diagnostics (without surface pressure contribution)


Revision 1.144 - (view) (download) (annotate) - [select for diffs]
Sat Jan 16 22:55:53 2010 UTC (14 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.143: +19 -19 lines
Diff to previous 1.143
replace maskH by maskInC


Revision 1.143 - (view) (download) (annotate) - [select for diffs]
Mon Oct 26 21:48:43 2009 UTC (14 years, 6 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint61y, checkpoint61z, checkpoint62, checkpoint62a
Changes since 1.142: +4 -1 lines
Diff to previous 1.142
initialize phihydlow to avoid TAF recomputation
(in the context of bottom pressure (GRACE) cost term)
done correctly, this time...


Revision 1.142 - (view) (download) (annotate) - [select for diffs]
Sun Apr 26 19:36:36 2009 UTC (15 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61m, checkpoint61n, checkpoint61o, checkpoint61p, checkpoint61q, checkpoint61r, checkpoint61s, checkpoint61t, checkpoint61u, checkpoint61v, checkpoint61w, checkpoint61x
Changes since 1.141: +2 -2 lines
Diff to previous 1.141
fix (number of arguments) a commented call to S/R REMOVE_MEAN_RL


Revision 1.141 - (view) (download) (annotate) - [select for diffs]
Fri Feb 13 21:56:48 2009 UTC (15 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint61j, checkpoint61k, checkpoint61l
Changes since 1.140: +2 -2 lines
Diff to previous 1.140
Add TAF option "kind" (or adjust "byte") to enable real*4 common blocks


Revision 1.140 - (view) (download) (annotate) - [select for diffs]
Mon Oct 20 23:51:39 2008 UTC (15 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61e, checkpoint61f, checkpoint61g, checkpoint61h, checkpoint61i
Changes since 1.139: +21 -14 lines
Diff to previous 1.139
- fix index range in calc_viscosity.F (was wrong for CD-Scheme & explicit Visc)
- put k loop inside calc_viscosity.F


Revision 1.139 - (view) (download) (annotate) - [select for diffs]
Mon Nov 5 18:52:21 2007 UTC (16 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59j, checkpoint59k, checkpoint59l, checkpoint59m, checkpoint59n, checkpoint59o, checkpoint59p, checkpoint59q, checkpoint59r, checkpoint60, checkpoint61, checkpoint61a, checkpoint61b, checkpoint61c, checkpoint61d
Changes since 1.138: +2 -2 lines
Diff to previous 1.138
split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h


Revision 1.138 - (view) (download) (annotate) - [select for diffs]
Sat Aug 18 21:34:01 2007 UTC (16 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint59f, checkpoint59g, checkpoint59h, checkpoint59i
Changes since 1.137: +22 -1 lines
Diff to previous 1.137
Update NLFS adjoint.


Revision 1.137 - (view) (download) (annotate) - [select for diffs]
Tue Jan 30 03:18:13 2007 UTC (17 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58v_post, checkpoint58w_post, checkpoint58x_post, checkpoint58y_post, checkpoint59, checkpoint59a, checkpoint59b, checkpoint59c, checkpoint59d, checkpoint59e
Changes since 1.136: +1 -34 lines
Diff to previous 1.136
Change storing for rstar adjoint.


Revision 1.136 - (view) (download) (annotate) - [select for diffs]
Fri Jul 7 20:10:35 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58m_post, checkpoint58n_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58r_post, checkpoint58s_post, checkpoint58t_post, checkpoint58u_post, mitgcm_mapl_00
Changes since 1.135: +33 -32 lines
Diff to previous 1.135
take bi,bj loops outside of calc_gw & timestep_wvel.F
 and move the call inside DYNAMICS bi,bj loops


Revision 1.135 - (view) (download) (annotate) - [select for diffs]
Tue Jun 20 20:57:37 2006 UTC (17 years, 10 months ago) by baylor
Branch: MAIN
CVS Tags: checkpoint58k_post
Changes since 1.134: +6 -2 lines
Diff to previous 1.134
Pass the variable viscosities on to calc_gw.


Revision 1.134 - (view) (download) (annotate) - [select for diffs]
Wed Jun 7 01:55:12 2006 UTC (17 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58h_post, checkpoint58i_post, checkpoint58j_post
Changes since 1.133: +9 -3 lines
Diff to previous 1.133
Modifications for bottom topography control
o replace hFacC by _hFacC at various places
o replace ALLOW_HFACC_CONTROL by ALLOW_DEPTH_CONTROL
o add non-self-adjoint cg2d_nsa
o update autodiff support routines
o re-initialise hfac after ctrl_depth_ini
o works for 5x5 box, doesnt work for global_ocean.90x40x15


Revision 1.133 - (view) (download) (annotate) - [select for diffs]
Wed May 31 19:53:28 2006 UTC (17 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58f_post, checkpoint58g_post
Changes since 1.132: +4 -2 lines
Diff to previous 1.132
Enable variable grid visc. for adjoint, but still exclude
calcLeith and calcSmag


Revision 1.132 - (view) (download) (annotate) - [select for diffs]
Wed May 3 23:34:41 2006 UTC (17 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58e_post
Changes since 1.131: +43 -6 lines
Diff to previous 1.131
o Now rstar adjoint.


Revision 1.131 - (view) (download) (annotate) - [select for diffs]
Wed Mar 29 17:00:39 2006 UTC (18 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58d_post
Changes since 1.130: +15 -1 lines
Diff to previous 1.130
Adding relevant headers for obcs+ptracers adjoint.


Revision 1.130 - (view) (download) (annotate) - [select for diffs]
Thu Mar 16 16:29:40 2006 UTC (18 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58c_post
Changes since 1.129: +3 -3 lines
Diff to previous 1.129
add ifdef ALLOW_MOM_COMMON which was missing.


Revision 1.129 - (view) (download) (annotate) - [select for diffs]
Sat Feb 25 16:20:01 2006 UTC (18 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58b_post
Changes since 1.128: +5 -1 lines
Diff to previous 1.128
Adding stores following implicitIntGravWave


Revision 1.128 - (view) (download) (annotate) - [select for diffs]
Thu Feb 23 20:55:48 2006 UTC (18 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.127: +16 -5 lines
Diff to previous 1.127
1rst implementation of  Implicit IGW using the 3-D solver (use3Dsolver=T)
 and based on the reference stratification


Revision 1.127 - (view) (download) (annotate) - [select for diffs]
Thu Dec 15 21:09:00 2005 UTC (18 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57z_post, checkpoint58, checkpoint58a_post
Changes since 1.126: +2 -1 lines
Diff to previous 1.126
isolate forward stepping of wVel in new S/R (previously part of calc_gw)


Revision 1.126 - (view) (download) (annotate) - [select for diffs]
Thu Dec 8 15:44:33 2005 UTC (18 years, 4 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57y_post
Changes since 1.125: +47 -2 lines
Diff to previous 1.125
First step for a NLFS adjoint
o initially suppress rStar (new flag DISABLE_RSTAR_CODE)
o new init. routines for calc_r_star, calc_surf_dr
o still need to deal with ini_masks_etc
o testreport seemed happy


Revision 1.125 - (view) (download) (annotate) - [select for diffs]
Fri Sep 16 21:40:58 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpint57u_post, checkpoint57s_post, checkpoint57t_post, checkpoint57v_post, checkpoint57w_post, checkpoint57x_post, checkpoint57y_pre
Changes since 1.124: +11 -1 lines
Diff to previous 1.124
add exch of gU,gV at the end, only for checking (and within #ifdef/#endif)


Revision 1.124 - (view) (download) (annotate) - [select for diffs]
Sun Sep 11 20:52:09 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.123: +3 -3 lines
Diff to previous 1.123
call impldiff with tracerId=-1,-2 for gU,gV resp. (to do diagnostics inside)


Revision 1.123 - (view) (download) (annotate) - [select for diffs]
Tue Aug 16 22:52:06 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57q_post, checkpoint57r_post
Changes since 1.122: +13 -3 lines
Diff to previous 1.122
add debug messages.


Revision 1.122 - (view) (download) (annotate) - [select for diffs]
Sat Jul 30 23:39:48 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57p_post
Changes since 1.121: +28 -4 lines
Diff to previous 1.121
call CALC_GW from DYNAMICS (instead of from FORWARD_STEP)


Revision 1.121 - (view) (download) (annotate) - [select for diffs]
Sat Jul 30 22:09:38 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.120: +4 -3 lines
Diff to previous 1.120
dissipation & Hydrostatic-Phi gradient are always added to gU,gV in timestep.F
 (was already the case for dissipation with mom_vecinv,
  and also the case for grad.PhiHyd if staggered-timeStep)
This allows to put dissipation out-off the AB time-stepping.


Revision 1.120 - (view) (download) (annotate) - [select for diffs]
Mon Jul 11 19:30:42 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post
Changes since 1.119: +8 -32 lines
Diff to previous 1.119
call diagnostics_scale_fill (instead of diagnostics_fill) and avoid temp array


Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Mon Jun 27 12:27:19 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57j_post, checkpoint57k_post
Changes since 1.118: +1 -5 lines
Diff to previous 1.118
go back to version 1.117:
 DIAGNOSTICS_IS_ON function call not needed for direct filling


Revision 1.118 - (view) (download) (annotate) - [select for diffs]
Sat Jun 25 13:42:52 2005 UTC (18 years, 10 months ago) by molod
Branch: MAIN
Changes since 1.117: +5 -1 lines
Diff to previous 1.117
Insert if sequence to check for whether diagnostic is activated


Revision 1.117 - (view) (download) (annotate) - [select for diffs]
Mon May 23 20:49:37 2005 UTC (18 years, 11 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint57i_post
Changes since 1.116: +3 -3 lines
Diff to previous 1.116
Bug fix with new diag


Revision 1.116 - (view) (download) (annotate) - [select for diffs]
Mon May 23 19:58:04 2005 UTC (18 years, 11 months ago) by molod
Branch: MAIN
Changes since 1.115: +17 -1 lines
Diff to previous 1.115
Add code to fill new diag of phi squared


Revision 1.115 - (view) (download) (annotate) - [select for diffs]
Fri Apr 15 14:06:15 2005 UTC (19 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57g_post, checkpoint57h_done, checkpoint57h_post, checkpoint57h_pre
Changes since 1.114: +11 -9 lines
Diff to previous 1.114
do not refer to gxNm1 if unnecessary (to work also with AB-3)


Revision 1.114 - (view) (download) (annotate) - [select for diffs]
Wed Apr 6 18:29:53 2005 UTC (19 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57f_post, checkpoint57g_pre
Changes since 1.113: +1 -4 lines
Diff to previous 1.113
use baseTime as time origin ; DIFF_BASE_MULTIPLE replaces DIFFERENT_MULTIPLE


Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Fri Jan 28 01:00:13 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57d_post, checkpoint57e_post, checkpoint57f_pre, eckpoint57e_pre
Changes since 1.112: +36 -6 lines
Diff to previous 1.112
move state variable diagnostics to the beginning of the time step.


Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Mon Jan 24 17:00:17 2005 UTC (19 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57c_post, checkpoint57c_pre
Changes since 1.111: +1 -4 lines
Diff to previous 1.111
remove re-initialisation of totPhiHyd
o now obsolete for z-coord.
o and wrong for p-coord. with pickup


Revision 1.111 - (view) (download) (annotate) - [select for diffs]
Thu Dec 16 23:20:06 2004 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57b_post
Changes since 1.110: +5 -5 lines
Diff to previous 1.110
change argument list of S/R impldiff.F: tracerIdentity replace deltaT
 - allow to implement deltaT function of level k
 - make diagnostics easier


Revision 1.110 - (view) (download) (annotate) - [select for diffs]
Wed Nov 10 03:02:00 2004 UTC (19 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint55j_post, checkpoint56, checkpoint56a_post, checkpoint56b_post, checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre
Changes since 1.109: +9 -1 lines
Diff to previous 1.109
isolate dissipation tendency (allow to keep it out off AB)
 note: only implemented in vector-invariant form.


Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Thu Sep 23 17:48:24 2004 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint55c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post, checkpoint55f_post, checkpoint55g_post, checkpoint55h_post, checkpoint55i_post
Changes since 1.108: +7 -1 lines
Diff to previous 1.108
Adding obcs exchanges for useOBCSprescribe


Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 23:02:00 2004 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint55, checkpoint55a_post, checkpoint55b_post
Changes since 1.107: +1 -8 lines
Diff to previous 1.107
o bringing adjoint up to date for sheduled c55


Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Tue Jul 6 01:05:53 2004 UTC (19 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint54a_post, checkpoint54b_post, checkpoint54c_post, checkpoint54d_post, checkpoint54e_post, checkpoint54f_post
Changes since 1.106: +2 -12 lines
Diff to previous 1.106
re-write staggerTimeStep: step forward momentum 1rst and then T,S


Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Sat Jan 3 01:01:34 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52e_post, checkpoint52f_post, checkpoint52f_pre, checkpoint52h_pre, checkpoint52i_post, checkpoint52i_pre, checkpoint52j_post, checkpoint52j_pre, checkpoint52k_post, checkpoint52l_post, checkpoint52l_pre, checkpoint52m_post, checkpoint52n_post, checkpoint53, checkpoint53a_post, checkpoint53b_post, checkpoint53b_pre, checkpoint53c_post, checkpoint53d_post, checkpoint53d_pre, checkpoint53f_post, checkpoint53g_post, checkpoint54, checkpoint54a_pre, hrcube4, hrcube5, hrcube_1, hrcube_2, hrcube_3
Changes since 1.105: +18 -7 lines
Diff to previous 1.105
add calls for implicit vertical direction (advection & diffusion)
    but keep impldiff for implicit diffusion & viscosity only.


Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Tue Nov 4 19:51:53 2003 UTC (20 years, 5 months ago) by edhill
Branch: MAIN
CVS Tags: branch-netcdf, checkpoint51s_post, checkpoint51t_post, checkpoint51u_post, checkpoint52, checkpoint52a_post, checkpoint52a_pre, checkpoint52b_post, checkpoint52b_pre, checkpoint52c_post, checkpoint52d_post, checkpoint52d_pre, checkpoint52e_pre, ecco_c52_e35
Branch point for: netcdf-sm0
Changes since 1.104: +3 -3 lines
Diff to previous 1.104
 o cleanup: convert DISABLE_MOM_FLUXFORM & DISABLE_MOM_VECINV to the
   newer ALLOW_${pkg} form
   - the only remaining package-based "special case" within genmake2
     is the one for AIM vs. AIM_V23


Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Tue Nov 4 18:40:57 2003 UTC (20 years, 5 months ago) by edhill
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103
 o cleanup: convert '#ifndef DISABLE_DEBUGMODE"' to '#ifdef ALLOW_DEBUG"'


Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Thu Oct 30 12:00:41 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51p_post, checkpoint51q_post, checkpoint51r_post
Branch point for: branch-nonh
Changes since 1.102: +4 -1 lines
Diff to previous 1.102
 o updated and tested version of the cd_code package
 o almost all of the cd_code functionality has been moved into
   the package but some cleanups (read/write checkpoints) remain


Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 22:57:59 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.101: +3 -3 lines
Diff to previous 1.101
 o add a "cd_code" package and update all the verification tests
   so that they use the new package instead of "INCLUDE_CD_CODE"


Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Fri Oct 10 22:56:08 2003 UTC (20 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51j_post, checkpoint51k_post, checkpoint51l_post, checkpoint51l_pre, checkpoint51m_post, checkpoint51n_post, checkpoint51n_pre, checkpoint51o_post, checkpoint51o_pre
Branch point for: checkpoint51n_branch, tg2-branch
Changes since 1.100: +10 -1 lines
Diff to previous 1.100
adjusted some flow directives


Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Thu Oct 9 04:19:18 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51i_post
Changes since 1.99: +2 -1 lines
Diff to previous 1.99
 o first check-in for the "branch-genmake2" merge
 o verification suite as run on shelley (gcc 3.2.2):

Wed Oct  8 23:42:29 EDT 2003
                T           S           U           V
G D M    c        m  s        m  s        m  s        m  s
E p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
N n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
2 d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .

OPTFILE=NONE

Y Y Y Y 13 16 16 16  0 16 16 16 16 16 16 16 16 13 12  0  0 pass  adjustment.128x64x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16  0  0 16 16  0  0 pass  adjustment.cs-32x32x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16 22  0 16 16 22  0 pass  adjust_nlfs.cs-32x32x1
Y Y Y Y -- 13 13 16 16 13 13 13 13 16 16 16 16 16 16 16 16 N/O   advect_cs
Y Y Y Y -- 22 16 16 16 16 16 16 13 16 16 16 16 16 16 16 16 N/O   advect_xy
Y Y Y Y -- 13 16 13 16 16 16 16 16 16 16 22 16 16 16 16 16 N/O   advect_xz
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  aim.5l_cs
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 16 16 16 16 13 16 pass  aim.5l_Equatorial_Channel
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 13 16 16 13 13 16 pass  aim.5l_LatLon
Y Y Y Y 13 16 16 16 16 16 16 16 16 16 13 12 13 13 16 13 16 pass  exp0
Y Y Y Y 14 16 16 16 16 16 16 16 22 16 16 16 13 16 16 22 16 pass  exp1
Y Y Y Y 13 13 16 13 16 16 16 16 16 13 13 16 16 13 13 13 13 pass  exp2
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  exp4
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 16 pass  exp5
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  front_relax
Y Y Y Y 14 16 16 13 13 16 16 13 13 16 13 13 16 12 13 13 16 pass  global_ocean.90x40x15
Y Y Y Y 10 16 16 13 13 16 13 16 16 13 13 13 13 16 16 13 16 FAIL  global_ocean.cs32x15
Y Y Y Y  6 11 12 13 13 12 13 16 13  9  9  9  9 10  9  9 11 FAIL  global_ocean_pressure
Y Y Y Y 14 16 16 13 16 16 16 13 13 13 13 13 16 12 16 13 16 pass  global_with_exf
Y Y Y Y 14 16 16 16 16 16 16 16 16 11 13 22 13 16 16  9 16 pass  hs94.128x64x5
Y Y Y Y 13 16 16 16 16 16 16 16 16 11 16 16 16 13 16 22 13 pass  hs94.1x64x5
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 13 13 16 16 22 13 pass  hs94.cs-32x32x5
Y Y Y Y 10 10 16 13 13 16 16 16 22 16 13 13 13 13 13 22 13 FAIL  ideal_2D_oce
Y Y Y Y  8 16 16 16 16 16 16 16 16 13 13  8 16 16 16 16 16 FAIL  internal_wave
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 13 22 13 13 13 22 16 pass  inverted_barometer
Y Y Y Y 12 16 16 16 16 16 16 16 16 16 13 12 13 13 13 13 13 FAIL  lab_sea
Y Y Y Y 11 16 16 16 16 16 16 16 13 13 13 12 13 16 13 12 13 FAIL  natl_box
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  plume_on_slope
Y Y Y Y 13 16 16 16 16 13 16 16 16 16 16 16 16 13 16 16 16 pass  solid-body.cs-32x32x1


Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Thu Oct 2 21:33:54 2003 UTC (20 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51g_post, checkpoint51h_pre, checkpoint51i_pre
Changes since 1.98: +10 -1 lines
Diff to previous 1.98
Bringing code up to date for AD
o remove some IF-statements which cause excessive dependencies
o provide interface for ADM*TLM


Revision 1.98.2.1 - (view) (download) (annotate) - [select for diffs]
Thu Oct 2 18:10:45 2003 UTC (20 years, 7 months ago) by edhill
Branch: branch-genmake2
Changes since 1.98: +2 -1 lines
Diff to previous 1.98 , to next main 1.178
 o included PACKAGES_CONFIG.h in all files where the ALLOW_${PKG_NAME}
     defines are used
 o added comments where IF ( use${PKG_NAME} ) statements will probably
     be needed -- or need to be edited


Revision 1.83.4.7 - (view) (download) (annotate) - [select for diffs]
Tue Jul 8 15:18:29 2003 UTC (20 years, 9 months ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c51_e34c, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g
Changes since 1.83.4.6: +2 -2 lines
Diff to previous 1.83.4.6 , to branch point 1.83 , to next main 1.178
o introducing integer flag debugLevel
o introducing pathname variable mdsioLocalDir for mdsio


Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Tue Jul 8 15:00:26 2003 UTC (20 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: branchpoint-genmake2, checkpoint51c_post, checkpoint51d_post, checkpoint51e_post, checkpoint51f_post, checkpoint51f_pre
Branch point for: branch-genmake2
Changes since 1.97: +2 -2 lines
Diff to previous 1.97
o introducing integer flag debugLevel
o introducing pathname variable mdsioLocalDir for mdsio


Revision 1.83.4.6 - (view) (download) (annotate) - [select for diffs]
Tue Jun 24 23:05:28 2003 UTC (20 years, 10 months ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c51_e34, ecco_c51_e34a, ecco_c51_e34b
Changes since 1.83.4.5: +29 -35 lines
Diff to previous 1.83.4.5 , to branch point 1.83
Merging from c51


Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Mon Jun 23 22:32:02 2003 UTC (20 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint50i_post, checkpoint51, checkpoint51a_post, checkpoint51b_post, checkpoint51b_pre
Changes since 1.96: +20 -15 lines
Diff to previous 1.96
Preparing next differentiable checkpoint and sync
of MAIN vs. ecco-branch
(updating store after changes in checkpoint50b_post,
plus still messing around with init. sequence).


Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Thu Apr 17 13:41:34 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint50b_post, checkpoint50c_post, checkpoint50c_pre, checkpoint50d_post, checkpoint50d_pre, checkpoint50e_post, checkpoint50e_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint50g_post, checkpoint50h_post
Changes since 1.95: +10 -21 lines
Diff to previous 1.95
o store u*,v* in gU,V instead of in gu,vNm1
o to allow to put the momForcing out of the Adams-Bashforth:
  move forcing & CD-scheme calls from mom_fluxform & mom_vecinv
  to timestep.F
o new flag "useCDscheme" (default=F); replace guCD,gvCD by local arrays


Revision 1.83.4.5 - (view) (download) (annotate) - [select for diffs]
Fri Mar 7 23:10:20 2003 UTC (21 years, 1 month ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c50_e28, ecco_c50_e29, ecco_c50_e30, ecco_c50_e31, ecco_c50_e32, ecco_c50_e33, ecco_c50_e33a
Changes since 1.83.4.4: +70 -67 lines
Diff to previous 1.83.4.4 , to branch point 1.83
merging c49 and e27


Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Fri Feb 28 02:20:52 2003 UTC (21 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint48i_post, checkpoint49, checkpoint50, checkpoint50a_post, checkpoint50b_pre
Changes since 1.94: +3 -3 lines
Diff to previous 1.94
Changes to restore differentiability of code w.r.t. previous tag
(mostly adding new routines to make list and replacing
pressure by totPhiHyd).


Revision 1.83.4.4 - (view) (download) (annotate) - [select for diffs]
Wed Feb 19 22:43:51 2003 UTC (21 years, 2 months ago) by dimitri
Branch: ecco-branch
CVS Tags: ecco_c44_e27, icebear3, icebear4, icebear5
Branch point for: icebear
Changes since 1.83.4.3: +0 -4 lines
Diff to previous 1.83.4.3 , to branch point 1.83
o Removed spurious iikey and idkey


Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Tue Feb 18 15:25:09 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint48g_post, checkpoint48h_post
Changes since 1.93: +26 -48 lines
Diff to previous 1.93
o compute locally the pressure for use in EOS: UNESCO, JMD95P or MDJWF
o store total Potential in totPhyHyd for diagnostic & EOS funct. of P
o fix restart and overlap Pb when using Z-coord and EOS funct. of P


Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Tue Feb 11 04:05:32 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint48e_post, checkpoint48f_post
Changes since 1.92: +5 -5 lines
Diff to previous 1.92
dynamics: change definition of computational domain & adapt mom_fluxform
 accordingly ; when viscA4=0, allows to run the dynamics with Olx=Oly=2.


Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Sat Feb 8 02:09:20 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint48d_post, checkpoint48d_pre
Changes since 1.91: +26 -23 lines
Diff to previous 1.91
in preparation for r*:
 new S/R (calc_grad_phi_hyd.F) to compute Hydrostatic potential gradient.
 pass the 2 comp. of the grad. as arguments to momentum S/R.
for the moment, only used if it does not change the results.


Revision 1.83.6.1 - (view) (download) (annotate) - [select for diffs]
Mon Jan 20 03:05:55 2003 UTC (21 years, 3 months ago) by dimitri
Branch: release1_coupled
Changes since 1.83: +5 -5 lines
Diff to previous 1.83 , to next main 1.178
Branch release1_coupled contains code for coupling
to UCLA atmospheric model:

cvs tag ucla1
  Branched off tag release1_beta1
  Modified eesupp/src/eeboot_minimal.F, eedie.F, exch_jam.F,
    global_max.F, global_sum.F, gsum_jam.F, ini_procs.F, and main.F
    model/src/dynamics.F, forward_step.F, freeze.F, ini_parms.F,
    set_defaults.F, the_main_loop.F, the_model_main.F, timestep.F,
    write_state.F, and mdsio_writefield.F
    pkg/timeave/TIMEAVE_STATV.h, timeave_statv_write.F,
    timeave_statvars.F, and model/inc/PARAMS.h,
  Added model/src/do_coupled_ucla.F and verification/coupled_ucla
  NOTES:
  MPI_COMM_WORLD -> MPI_COMM_MODEL in
    exch_jam.F, global_max.F global_sum.F, and gsum_jam.F
  Added useSingleCpuIO: ini_procs.F, PARAMS.h, ini_parms.F,
    set_defaults.F, mdsio_writefield.F, and subroutine
    GATHER_2D in do_coupled_ucla.F


Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Fri Nov 15 03:01:21 2002 UTC (21 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: branch-exfmods-tag, checkpoint47, checkpoint47a_post, checkpoint47b_post, checkpoint47c_post, checkpoint47d_post, checkpoint47d_pre, checkpoint47e_post, checkpoint47f_post, checkpoint47g_post, checkpoint47h_post, checkpoint47i_post, checkpoint47j_post, checkpoint48, checkpoint48a_post, checkpoint48b_post, checkpoint48c_post, checkpoint48c_pre
Branch point for: branch-exfmods-curt
Changes since 1.90: +15 -12 lines
Diff to previous 1.90
differentiable version of checkpoint46n_post
o external_fields_load now part of differentiation list
o pressure needs multiple storing;
  would be nice to have store_pressure at beginning or
  end of forward_step, e.g. by having phiHyd global (5-dim.)
  (NB: pressure is needed for certain cases in find_rho,
  which is also invoked through convective_adjustment).
o recomputations in find_rho for cases
 'JMD95'/'UNESCO' or 'MDJWF' are OK.
o #define ATMOSPHERIC_LOADING should be differentiable
o ini_forcing shifted to begining of initialise_varia


Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Wed Sep 18 16:38:01 2002 UTC (21 years, 7 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint46g_post, checkpoint46h_post, checkpoint46h_pre, checkpoint46i_post, checkpoint46j_post, checkpoint46j_pre, checkpoint46k_post, checkpoint46l_post, checkpoint46l_pre, checkpoint46m_post, checkpoint46n_post
Changes since 1.89: +17 -9 lines
Diff to previous 1.89
o Include a new diagnostic variable phiHydLow for the ocean model
  - in z-coordinates, it is the bottom pressure anomaly
  - in p-coordinates, it is the sea surface elevation
  - in both cases, these variable have global drift, reflecting the mass
    drift in z-coordinates and the volume drift in p-coordinates
  - included time averaging for phiHydLow, be aware of the drift!
o depth-dependent computation of Bo_surf for pressure coordinates
  in the ocean (buoyancyRelation='OCEANICP')
  - requires a new routine (FIND_RHO_SCALAR) to compute density with only
    Theta, Salinity, and Pressure in the parameter list. This routine is
    presently contained in find_rho.F. This routine does not give the
    correct density for 'POLY3', which would be a z-dependent reference
    density.
o cleaned up find_rho
  - removed obsolete 'eqn' from the parameter list.
o added two new verification experiments: gop and goz
  (4x4 degree global ocean, 15 layers in pressure and height coordinates)


Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Wed Aug 7 16:55:52 2002 UTC (21 years, 8 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint46b_post, checkpoint46c_post, checkpoint46c_pre, checkpoint46d_post, checkpoint46d_pre, checkpoint46e_post, checkpoint46e_pre, checkpoint46f_post, checkpoint46g_pre
Changes since 1.88: +8 -1 lines
Diff to previous 1.88
o Added new equation of state -> JMD95Z and JMD95P
  - EOS of Jackett and McDougall, 1995, JPO
  - moved all EOS parameters into EOS.h
  - new routines ini_eos.F, store_pressure.F
o Added UNESCO EOS, but not recommended because it requires
  in-situ temperature (see JMD95)
o Modified formatting for knudsen2.f in utils/knudsen2 and added
  unesco.f to be used with POLY3


Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Sat Jul 13 04:59:42 2002 UTC (21 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46, checkpoint46a_post, checkpoint46a_pre, checkpoint46b_pre
Changes since 1.87: +8 -7 lines
Diff to previous 1.87
Merging from release1_p5 (cf. tag-index for checkpoint46).


Revision 1.83.2.5 - (view) (download) (annotate) - [select for diffs]
Thu Jul 11 14:24:26 2002 UTC (21 years, 9 months ago) by heimbach
Branch: release1
CVS Tags: release1_p10, release1_p11, release1_p12, release1_p12_pre, release1_p13, release1_p13_pre, release1_p14, release1_p15, release1_p16, release1_p17, release1_p5, release1_p6, release1_p7, release1_p8, release1_p9
Branch point for: release1_50yr
Changes since 1.83.2.4: +11 -7 lines
Diff to previous 1.83.2.4 , to branch point 1.83 , to next main 1.178
o added Eliassen-Palm flux hook (dynamics)
o removed unused TAF keys iikey, idkey (dynamics,thermodynamics)


Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Thu May 30 02:30:12 2002 UTC (21 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint45b_post, checkpoint45c_post, checkpoint45d_post
Changes since 1.86: +6 -6 lines
Diff to previous 1.86
Moved some initialisations into bi,bj loop.
Needed for flow dependency by TAF.


Revision 1.83.4.3 - (view) (download) (annotate) - [select for diffs]
Wed Apr 17 14:05:34 2002 UTC (22 years ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c44_e23, ecco_c44_e24, ecco_c44_e25, ecco_c44_e26, ecco_ice1, ecco_ice2, icebear2
Branch point for: c24_e25_ice
Changes since 1.83.4.2: +5 -8 lines
Diff to previous 1.83.4.2 , to branch point 1.83
Merging patches between release1_p1 and release1_p2:
o fixed array boundary problem for adjoint
  (related to partial recomputation within subroutine
  related to dynamics -> calc_viscosity -> mom_...
o fixed recomputation in thermodynamics
o prepare (but not complete) recomputation problem in impldiff
o fixed problem for adjoint of global_max
o switched off sponge layer code in external_forcing
Bug fix in ctrl_mask_set_yz (spotted by G. Gebbie)


Revision 1.83.2.4 - (view) (download) (annotate) - [select for diffs]
Wed Apr 17 01:38:00 2002 UTC (22 years ago) by heimbach
Branch: release1
CVS Tags: release1_p2, release1_p3, release1_p4
Changes since 1.83.2.3: +7 -7 lines
Diff to previous 1.83.2.3 , to branch point 1.83
o Partial setting of kappa arrays to constant background
  caused trouble in reverse mode
  (array boundaries are inconsistent between calc_viscosity
  and mom/ package).
-> extended to full domain.


Revision 1.83.2.3 - (view) (download) (annotate) - [select for diffs]
Mon Apr 8 20:27:12 2002 UTC (22 years ago) by heimbach
Branch: release1
CVS Tags: release1_p1
Changes since 1.83.2.2: +0 -3 lines
Diff to previous 1.83.2.2 , to branch point 1.83
These changes constitute a patch to release1.
They were made on a development branch called "release1_final"
and are on the main trunk between chkpt44d_post and
checkpoint44h_post along with other changes.

This code is equivalent to chkpt44d_post with the following patches:
  - AD-related changes for GMRedi
  - fixes i KPP (delZ -> drF)
  - hook to OBCS songe layer code in external_forcing
  - errorMessageUnit non-zero in eeboot.F
  - modified test cost function and carbon verif.


Revision 1.83.2.2 - (view) (download) (annotate) - [select for diffs]
Mon Apr 8 20:10:37 2002 UTC (22 years ago) by heimbach
Branch: release1
CVS Tags: release1_chkpt44d_post
Changes since 1.83.2.1: +2 -8 lines
Diff to previous 1.83.2.1 , to branch point 1.83
Changes encapsulated by checkpoint43a-release1mods and chkpt44d_post
on the main trunk.
These are:

 o added missing EXCLUDE_MONITOR flags
 o changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi
   (incompatible typ in MIN/MAX expressions caused problems
   on IBM SP3)
 o in genmake added variable MAKEDEPEND
   plus resetting for case SunOS
 o added timer_stats.c routine for IBM SP3
 o removed variables in dynamics
 o real fresh water flux implemented with non-linear free-surface.
 o few fix (mask in shap_s2, EmPmR in external_field_load,
   USE_NATURAL_BCS in solve_for_P);
 o add arguments myIter & myTime to S/R obcs_calc & solve_for_P
 o merge of relevant stuff from the ecco-branch:
   - genmake: removed $S64 overwrite for case SunOS
   - pkg/exf: update and corrections for field swapping and obcs
   - pkg/ecco: parameter lists for the_model_main, the_main_loop
               harmonized between ECCO and MITgcm
   - pkg/autodiff: added flow directives for obcs, mdsio_gl_slice
                   updated checkpointing_lev... lists for obcs
   - model/src: minor changes in forward_step, plot_field
                added directive for divided adjoint in the_main_loop
   - pkg/mdsio: added mdsio_gl_slice
 o check parameters & config (chkpt44a_pre,post)
 o OBC and NonLin_FrSurf.
 o fix bug in mom_vi_del2uv
 o select when filters are applied ; add options to zonal_filter (data.zonfilt)
 o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
 o update AIM experiments (NCEP input files)
 o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
 o added some stuff for AD

These were merged with
cvs co -r release1 -P MITgcm
cd MITgcm
cvs update -kk
cvs update -j checkpoint43a-release1mods -j chkpt44d_post -d -P -kk


Revision 1.83.4.2 - (view) (download) (annotate) - [select for diffs]
Sun Mar 24 17:25:19 2002 UTC (22 years, 1 month ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c44_e19, ecco_c44_e20, ecco_c44_e21, ecco_c44_e22
Changes since 1.83.4.1: +0 -5 lines
Diff to previous 1.83.4.1 , to branch point 1.83
Merged changes to enable stable adjoint of GM from release1_final.


Revision 1.85.2.1 - (view) (download) (annotate) - [select for diffs]
Sun Mar 24 04:14:58 2002 UTC (22 years, 1 month ago) by heimbach
Branch: release1_final
CVS Tags: release1_final_v1
Changes since 1.85: +1 -4 lines
Diff to previous 1.85 , to next main 1.178
Merged AD-related changes into release1_final


Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Sun Mar 24 02:36:39 2002 UTC (22 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint44h_post, checkpoint45, checkpoint45a_post
Changes since 1.85: +1 -4 lines
Diff to previous 1.85
o Modified initialisations to break adjoint dependencies
o removed some store directives
o added options files for KPP, GMREDI


Revision 1.83.2.1 - (view) (download) (annotate) - [select for diffs]
Tue Feb 26 16:04:47 2002 UTC (22 years, 2 months ago) by adcroft
Branch: release1
Changes since 1.83: +1 -9 lines
Diff to previous 1.83
Merging changes on MAIN between checkpoint43 and checkpoint43a-release1mods
Command: cvs -q update -jcheckpoint43 -jcheckpoint43a-release1mods -d -P

These changes are most of the changes between c43 and c44 except those
that occured after "12:45 11 Jan 2002". As far as I can tell it is
checkpoint43 with the following mods:

  o fix bug in mom_vi_del2uv
  o select when filters are applied ; add options to zonal_filter (data.zonfilt)  o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
  o update AIM experiments (NCEP input files)
  o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
  o added some stuff for AD
  o Jamar wet-points

This update does not contain the following mods that are in checkpoint44

  o bug fix in pkg/generic_advdiff/
    - thread related bug, bi,bj arguments in vertical advection routines
  o some changes to pkg/autodiff, pkg/cost, pkg/exf, pkg/ecco,
    verification/carbon and model/src/ related to adjoint
  o some new Matlab scripts for diagnosing model density
    - utils/matlab/dens_poly3.m and ini_poly3.m

The list of exclusions is accurate based on a "cvs diff". The list of
inclusions is based on the record in doc/tag-index which may not be complete.


Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Fri Feb 15 21:29:04 2002 UTC (22 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint44e_post, checkpoint44e_pre, checkpoint44f_post, checkpoint44f_pre, checkpoint44g_post, checkpoint44h_pre, chkpt44d_post, ecco_c44_e17, ecco_c44_e18
Branch point for: release1_final
Changes since 1.84: +1 -7 lines
Diff to previous 1.84
Removed arrays which are no longer needed.


Revision 1.83.4.1 - (view) (download) (annotate) - [select for diffs]
Wed Feb 6 15:48:07 2002 UTC (22 years, 2 months ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, ecco_c44_e16
Changes since 1.83: +1 -9 lines
Diff to previous 1.83
Updating ecco-branch-mod1 to checkpoint44.
Will be tagged ecco-branch-mod2.


Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Fri Nov 16 03:25:40 2001 UTC (22 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint43a-release1mods, checkpoint44, checkpoint44b_post, checkpoint44b_pre, chkpt44a_post, chkpt44a_pre, chkpt44c_post, chkpt44c_pre, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials
Branch point for: release1-branch
Changes since 1.83: +1 -9 lines
Diff to previous 1.83
fix diagnostic of convective adjustment (IVDC)
 (broken since thermo-/dynamics split)


Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Thu Sep 27 20:12:10 2001 UTC (22 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint42, checkpoint43, ecco-branch-mod1, release1_b1, release1_beta1
Branch point for: ecco-branch, release1, release1_coupled
Changes since 1.82: +10 -7 lines
Diff to previous 1.82
Fixed AD-related problems:
o Store directives up-to-date with re-arranged Adams-Bashforth
  (mainly thermodynamics.F)
o New store directives for multi-dim. advection schemes
  * new CPP flag ALLOW_MULTI_DIM_ADVECTION
  * new common block and key passkey
  (mainly gad_advection.F)
o Modified store directives for split of dynamics/thermodynamics
  for the case ALLOW_KPP
o Cleaned argument list for timestep_tracer.F


Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Wed Sep 26 18:09:14 2001 UTC (22 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint41
Changes since 1.81: +91 -21 lines
Diff to previous 1.81
Bringing comments up to data and formatting for document extraction.


Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Wed Sep 19 02:43:27 2001 UTC (22 years, 7 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint40
Changes since 1.80: +2 -2 lines
Diff to previous 1.80
Re-arranged sequence of operations for Adams-Bashforth
 o this does not change numbers
 o this makes it very easy to extract forcing/diffusion out of ABII
   by changing calling sequence in calc_gt, calc_gs,...

Key modifications:
 o new s/r: ADAMS_BASHFORTH2  gT=3/2*gT-1/2*gTnm1
 o changed TIMESTEP_TRACER from gTnm1=t+dt*(3/2*gT-1/2*gTnm1)
   to  gT=T+dt*gT
 o changed CALC_GT,CALC_GS & CALC_GTR1 to calcuate "gT" defined
   by new timestep_tracer (ie. including forcing, ABII, N-L F-S, etc...)
   now calls ADAMS_BASHFORTH2 and FREESURF_RESCALE_G
 o changed CYCLE_TRACER appropriately  T=gT only

Other associated mods:
 o new s/r: FREESURF_RESCALE_G applies non-linear free-surface term
   this used to be in TIMESTEP_TRACER
 o added myIter as argument to CALC_GS,CALC_GT,CALC_GTR1


Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Fri Aug 17 18:40:30 2001 UTC (22 years, 8 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint40pre8, checkpoint40pre9
Changes since 1.79: +3 -3 lines
Diff to previous 1.79
Added method for dumping intermediate local arrays:
 mdsio_writetile - same as mdsio_writefield except works from inside bi,bj loop
 mdsio_writelocal - same as mdsio_writetile except works for local arrays
 write_local_r? - higher-level wrapper for mdsio_writelocal

Controlled by diagFreq. Defaults to zero (ie. no dumps)

Example given at end of mom_vecinv.F that dumps some local arrays.


Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 17:12:24 2001 UTC (22 years, 8 months ago) by adcroft
Branch: MAIN
Changes since 1.78: +12 -5 lines
Diff to previous 1.78
Added run-time control of vector-invariant/flux-form momentum eqns.


Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Tue Aug 14 00:19:42 2001 UTC (22 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre7
Changes since 1.77: +4 -4 lines
Diff to previous 1.77
Re-instated all relevant initialisations.


Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Mon Aug 13 23:26:56 2001 UTC (22 years, 8 months ago) by heimbach
Branch: MAIN
Changes since 1.76: +16 -16 lines
Diff to previous 1.76
Moved call to calc_viscosity before k=1,Nr loop.


Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Mon Aug 13 18:05:26 2001 UTC (22 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre6
Changes since 1.75: +76 -27 lines
Diff to previous 1.75
Modifications related to split into thermodynamics.F, dynamics.F
o missing initialisations in dynamics.F added
o some fields no longer needed in dynamics/thermodynamics deleted
o split of calc_diffusivity.F into calc_viscosity.F
  (plus split of kpp_calc_diff.F into kpp_calc_visc.F)
o Modifications of some store directives for TAF


Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Fri Aug 3 19:06:11 2001 UTC (22 years, 8 months ago) by adcroft
Branch: MAIN
Changes since 1.74: +16 -467 lines
Diff to previous 1.74
Split dynamics.F into dynamics.F and thermodynamics.F
 - idea is to make algorithm more transparent???
 - probably less efficient
 - has exchanges at end of thermodynamics.F (which are needed
   if using staggered time-stepping with the cube OR using AIM.


Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Mon Jul 30 20:37:45 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre4, checkpoint40pre5
Changes since 1.73: +26 -11 lines
Diff to previous 1.73
Extended iMin,jMin range for calc_common_factors, calc_diffusivity.


Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Fri Jul 20 19:16:28 2001 UTC (22 years, 9 months ago) by adcroft
Branch: MAIN
Changes since 1.72: +3 -2 lines
Diff to previous 1.72
Missing diag call for uVel.


Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 14:26:57 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre2, checkpoint40pre3
Changes since 1.71: +42 -11 lines
Diff to previous 1.71
o Added grdchk package handling
o Added passive tracer handling


Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Mon Jun 18 17:39:58 2001 UTC (22 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint40pre1
Changes since 1.70: +2 -2 lines
Diff to previous 1.70
Add to main branch of
  o CS atmos with AIM physics
  o Multi-threaded AIM physics for LatLon and CS tests
  o Tidied up monitor() output


Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Wed Jun 6 15:14:06 2001 UTC (22 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.69: +3 -1 lines
Diff to previous 1.69
Missed the IF(debugMode) around DEBUG stuff.


Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Wed Jun 6 14:55:45 2001 UTC (22 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.68: +17 -1 lines
Diff to previous 1.68
Added a debugMode that uses same statistics stuff as monitor.F
Can be disabled with -DEXCLUDE_DEBUGMODE. Turn on at run-time
with debugMode=.true.  Default is enabled but off.


Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Tue May 29 14:01:37 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.67: +16 -15 lines
Diff to previous 1.67
Merge from branch pre38:
 o essential mods for cubed sphere
 o debugged atmosphere, dynamcis + physics (aim)
 o new packages (mom_vecinv, mom_fluxform, ...)


Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Mon May 14 21:46:17 2001 UTC (22 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint39
Changes since 1.66: +65 -31 lines
Diff to previous 1.66
Modifications/fixes to support TAMC differentiability
(mostly missing or wrong directives).


Revision 1.65.2.4 - (view) (download) (annotate) - [select for diffs]
Fri May 4 01:24:55 2001 UTC (23 years ago) by jmc
Branch: pre38
CVS Tags: pre38-close
Changes since 1.65.2.3: +3 -5 lines
Diff to previous 1.65.2.3 , to branch point 1.65 , to next main 1.178
recover diagnostic of PhiHyd using the new routine TIMEAVE_CUMUL_1T


Revision 1.65.2.3 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 10:52:49 2001 UTC (23 years ago) by cnh
Branch: pre38
CVS Tags: pre38tag1
Changes since 1.65.2.2: +5 -3 lines
Diff to previous 1.65.2.2 , to branch point 1.65
Changes to restore/introduce true shared memory (i.e. pure SMP model) support
for lat-lon, cartesian and cube.

 o Threads support restored for global_sum, global_max.
   Needed COMMON blocks in place of stack variables
   for work space.

 o COMMON added for temps that are exchanged
   shap_filt, solve_for_pressure

 o exch...template edits to allow multithreaded calling
   of cube exchanges. Cube exchanges are done single threaded,
   sequential at the moment and are hard coded for six-tile,
   one tile per face configuration.

 o Threading support only tested on Sun SMP (6500) system.

 o Default is SYSTEM() exists (check_threads.F), and barrier and memsync
   are used for threaded exchanges (ini_communications_patterns).

 o Killed K-level plot (ini_masks_etc.F). Overlaps not set in
   multi-threads (local array), so fails in plot_field().

 o Fixed t-ave of phihyd ( DYNAMICS() ). Can only do it for
   first tile.

 o Added commented out nTx settings to hs94.cs-32x32x5 eedata.
   #nTx=2
   #nTx=3
   #nTx=6
   Need to activate for setenv PARALLEL

 o Multi-threaded pickup is 100% validated.

Testing notes

 o Code passes "testscript" tests.

 o To get "hs94.cs-32x32x5" to run OK need to patch
   dynamics.F. Patch is in hs94.cs-32x32x5/code/dynamics.patch.

 o Multithreading only tested on Sun 6500 SMP for hs94.cs and
   hs94.128. hs94.128 was OK at c37 but has a problem under multi-threading
   at pre38 at the moment.

 o Under Solaris need one of
   setenv PARALLEL 2
   setenv PARALLEL 3
   setenv PARALLEL 6
   setenv PARALLEL 8  ( hs94.128 only )
    - and -
   setenv STACKSIZE 16384


 o Under Solaris f77 need to remove -u from Makefile FOPTS for compiling
   fftpack.o. Need to declare everything in fftpack or have
   custom compile options for fftpack.F to fix this.


Revision 1.65.2.2 - (view) (download) (annotate) - [select for diffs]
Mon Apr 9 16:08:34 2001 UTC (23 years ago) by jmc
Branch: pre38
Changes since 1.65.2.1: +7 -3 lines
Diff to previous 1.65.2.1 , to branch point 1.65
add tauAB (Adms-Bashforth weight) as argument of TIMESTEP_TRACER routine


Revision 1.65.2.1 - (view) (download) (annotate) - [select for diffs]
Fri Mar 30 22:56:00 2001 UTC (23 years, 1 month ago) by jmc
Branch: pre38
Changes since 1.65: +8 -11 lines
Diff to previous 1.65
use the 3D global center-cell maskC instead of a local one.


Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Sun Mar 25 22:33:52 2001 UTC (23 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: c37_adj, checkpoint38
Changes since 1.65: +58 -21 lines
Diff to previous 1.65
Modifications and additions to enable automatic differentiation.
Detailed info's in doc/notes_c37_adj.txt


Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Thu Mar 8 20:25:01 2001 UTC (23 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint37
Branch point for: pre38
Changes since 1.64: +9 -13 lines
Diff to previous 1.64
all potentials (cg2d_x, cg3d_x, phiHyd) have units of P/rho in ocean AND atmos


Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 16:59:44 2001 UTC (23 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.63: +11 -14 lines
Diff to previous 1.63
separate the state variable "eta" from the 2D solver solution cg2d_x
    change Time-Average routines names (new package)


Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Tue Feb 20 15:06:21 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint36
Changes since 1.62: +28 -11 lines
Diff to previous 1.62
implement a Crank-Nickelson barotropic time-stepping


Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Wed Feb 14 22:51:27 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.61: +37 -9 lines
Diff to previous 1.61
recover (after checkpoint35) time average output


Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 21:48:02 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint35
Changes since 1.60: +8 -15 lines
Diff to previous 1.60
remove unused array "rVel"


Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 16:28:54 2001 UTC (23 years, 2 months ago) by adcroft
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59
Corrected comment about call to OBCS_APPLY_W()


Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 14:38:47 2001 UTC (23 years, 2 months ago) by cnh
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!


Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Fri Feb 2 21:04:48 2001 UTC (23 years, 2 months ago) by adcroft
Branch: MAIN
Changes since 1.57: +248 -551 lines
Diff to previous 1.57
Merged changes from branch "branch-atmos-merge" into MAIN (checkpoint34)
 - substantial modifications to algorithm sequence (dynamics.F)
 - packaged OBCS, Shapiro filter, Zonal filter, Atmospheric Physics


Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:32:02 2001 UTC (23 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint34
Changes since 1.56: +1 -11 lines
Diff to previous 1.56
Modifying store directive.


Revision 1.54.2.13 - (view) (download) (annotate) - [select for diffs]
Wed Jan 31 16:14:04 2001 UTC (23 years, 3 months ago) by jmc
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-freeze
Changes since 1.54.2.12: +11 -1 lines
Diff to previous 1.54.2.12 , to branch point 1.54 , to next main 1.178
add call to AIM physics and initialization of phiHyd


Revision 1.54.2.12 - (view) (download) (annotate) - [select for diffs]
Tue Jan 30 21:02:59 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
Changes since 1.54.2.11: +18 -12 lines
Diff to previous 1.54.2.11 , to branch point 1.54
Packaged OBCS (open boundary conditions)
 o source code now in  pkg/obcs
 o controlled by namelist in  data.obcs
 o includes Orlanski radiation condition (in same directory)
 o affects exp4 and internal_wave


Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 20:05:46 2001 UTC (23 years, 3 months ago) by heimbach
Branch: MAIN
Changes since 1.55: +24 -10 lines
Diff to previous 1.55
Corrected store directives; added one ifdef ALLOW_GMREDI.


Revision 1.54.2.11 - (view) (download) (annotate) - [select for diffs]
Thu Jan 25 19:43:32 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
Changes since 1.54.2.10: +3 -4 lines
Diff to previous 1.54.2.10 , to branch point 1.54
o Removed array phiHydInterface. Why have more arguments than are necessary.
It made the "finite volume" integration easier but wasn't used for
the default energy conserving method. The fv is still available in
comments but has been coded without the phiHydInterface array.
o Put a safety "IF" in front of k+1 references.


Revision 1.54.2.10 - (view) (download) (annotate) - [select for diffs]
Wed Jan 17 15:05:59 2001 UTC (23 years, 3 months ago) by jmc
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-phase5, branch-atmos-merge-phase6, branch-atmos-merge-phase7, branch-atmos-merge-shapiro, branch-atmos-merge-zonalfilt
Changes since 1.54.2.9: +13 -4 lines
Diff to previous 1.54.2.9 , to branch point 1.54
enable a stagger time stepping of T,S and then U,V ;
   add phiHyd as argument of subroutine TIMESTEP


Revision 1.54.2.9 - (view) (download) (annotate) - [select for diffs]
Fri Jan 12 21:02:46 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-phase4
Changes since 1.54.2.8: +7 -28 lines
Diff to previous 1.54.2.8 , to branch point 1.54
Re-wrote calc_phi_hyd()
 - use theta and salt as arguments (necessary for staggered time-step)
 - calls find_rho() from inside
 - find_rho() also takes theta,salt as arguments
 - uses different formulation for 'OCEANIC' and 'ATMOSPHERIC' modes
 - "finite volume" (non-energy conserving) form supplied in comments


Revision 1.54.2.8 - (view) (download) (annotate) - [select for diffs]
Fri Jan 12 14:39:53 2001 UTC (23 years, 3 months ago) by jmc
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-phase3
Changes since 1.54.2.7: +6 -11 lines
Diff to previous 1.54.2.7 , to branch point 1.54
Compute sigmaX,Y(k=1) for GMRedi tensor (correct phase2 modif)


Revision 1.54.2.7 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 21:26:07 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
Changes since 1.54.2.6: +42 -20 lines
Diff to previous 1.54.2.6 , to branch point 1.54
Tentative implimentatin of OBCs.


Revision 1.54.2.6 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 17:06:54 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-phase2
Changes since 1.54.2.5: +7 -7 lines
Diff to previous 1.54.2.5 , to branch point 1.54
Moved call to external_forcing_surf() to before call to kpp_calc()
 - it got back to front during re-arrangement of dynamics()


Revision 1.54.2.5 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 16:21:18 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
Changes since 1.54.2.4: +4 -27 lines
Diff to previous 1.54.2.4 , to branch point 1.54
Moved af,df,fZon and fMer temporary arrays into calc_gs() and calc_gt()
 - this uses slightly more memory
 - this reduces the number of arguments and set-up space in dynamics()


Revision 1.54.2.4 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 15:44:59 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
Changes since 1.54.2.3: +5 -9 lines
Diff to previous 1.54.2.3 , to branch point 1.54
Moved computation of uTrans,vTrans,etc. into calc_mom_rhs()
since calc_mom_rhs() is in it's own K loop.


Revision 1.54.2.3 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 14:39:34 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
Changes since 1.54.2.2: +2 -2 lines
Diff to previous 1.54.2.2 , to branch point 1.54
Started deleting unused arrays form calc_mom_rhs()
 - affects dynamics() too.


Revision 1.54.2.2 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 20:41:31 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
Changes since 1.54.2.1: +205 -355 lines
Diff to previous 1.54.2.1 , to branch point 1.54
Tentative step towards "phase 2"
 o added wVel array to DYNVARS.h
 o re-arranged dynamics() substantially


Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 16:37:43 2001 UTC (23 years, 3 months ago) by heimbach
Branch: MAIN
Changes since 1.54: +64 -16 lines
Diff to previous 1.54
Added or modified store directives for TAMC.
Updates are adopted from ecco_c32_e2.


Revision 1.54.2.1 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 21:41:33 2001 UTC (23 years, 3 months ago) by adcroft
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-phase1
Changes since 1.54: +1 -92 lines
Diff to previous 1.54
Moved "correction" phase of algorithm from top of dynamcs()
to end of forward_step().
 - allows deletion of ini_predictor
 - need convective adjustment of initial conditions for backward compatibility.
 - exchange fields instead of tendancies, called in forward_step()
 - encapsulated convective adjustment for convenience: convective_adjustment()


Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Mon Nov 13 16:32:57 2000 UTC (23 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: branch-atmos-merge-start, checkpoint32, checkpoint33
Branch point for: branch-atmos-merge
Changes since 1.53: +27 -13 lines
Diff to previous 1.53
Rescaling of forcing fields done immediately after reading fields.


Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 23:07:29 2000 UTC (23 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint31
Changes since 1.52: +257 -206 lines
Diff to previous 1.52
Various corrections and additions of store directives for TAMC.
Changes of interfaces to packaged GMRedi and KPP.
Tested for exp(0,2,4).


Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu Jun 29 18:49:50 2000 UTC (23 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint30
Changes since 1.51: +4 -3 lines
Diff to previous 1.51
The array ConvectCount(...) needs to always be declared becuase
it is used by IVDC and the time-averaging package. We should ultimately
move this into a common block specific to those routines that use it.


Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Wed Jun 21 20:46:31 2000 UTC (23 years, 10 months ago) by heimbach
Branch: MAIN
Changes since 1.50: +8 -8 lines
Diff to previous 1.50
Fixed key computations for TAMC: eliminated ikact,
changed location for computation of iikey. (P.H., A.K.)


Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Jun 21 19:13:11 2000 UTC (23 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint29
Changes since 1.49: +41 -68 lines
Diff to previous 1.49
Packaged KPP and GM/Redi:
 o moved temporary arrays such as K13, KapGM,... to private common blocks
 o calls to KPP_CALC and GMREDI_CALC_TENSOR replace KVMIX and CALC_ISOSLOPES.

Added call to gradSigma() to calculate density gradients.


Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Fri Jun 9 02:45:04 2000 UTC (23 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint28
Changes since 1.48: +253 -11 lines
Diff to previous 1.48
Modifications to include TAMC directives, tape key computations
and initialisations to make code TAMC compatible.
Routines the_model_main.F and initialise_fixed.F
are left unchanged for the moment. (P.H.)


Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Tue Mar 14 17:47:25 2000 UTC (24 years, 1 month ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint25, checkpoint26, checkpoint27
Changes since 1.47: +4 -1 lines
Diff to previous 1.47
Various updates for OBCs and Non-hydrostatic routines.
 o OBCs now fits into time-stepping properly
 o div.G has been moved to solve_for_pressure()


Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Mon Aug 30 18:29:26 1999 UTC (24 years, 8 months ago) by adcroft
Branch: MAIN
Changes since 1.46: +13 -1 lines
Diff to previous 1.46
Corrected interaction between OBCs and algorithm. The
positioning of set_obcs() within the time-stepping sequence
is crucial for stable open-boundaries. Forcing the boundaries
with time-dependent flow previously led to horrible results...


Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon Aug 30 18:25:33 1999 UTC (24 years, 8 months ago) by adcroft
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45
Added myIter as an argument to timestep() to allow proper
timestepping at myIter=0


Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Aug 26 17:47:37 1999 UTC (24 years, 8 months ago) by adcroft
Branch: MAIN
Changes since 1.44: +33 -4 lines
Diff to previous 1.44
Added IVDC (Implicit Vertical Diffusion Convection).
Also facilitated a "convection counter" that is output through "diags".


Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Wed Jul 28 16:32:12 1999 UTC (24 years, 9 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint24
Changes since 1.43: +5 -2 lines
Diff to previous 1.43
Added a parameter "implicitViscosity" to separately control implicit
viscosity and diffusion.


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon May 24 15:42:23 1999 UTC (24 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint23
Changes since 1.42: +9 -1 lines
Diff to previous 1.42
Added CPP macro ALLOW_OBCS to include/exclude open boundary code.


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue May 18 18:01:12 1999 UTC (24 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint22
Changes since 1.41: +66 -9 lines
Diff to previous 1.41
Modifications/additions for KPP mixing scheme. Instigated by Dimitri.


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon May 3 21:45:57 1999 UTC (25 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint21
Changes since 1.40: +5 -1 lines
Diff to previous 1.40
Added "freezing" subroutine. This can be viewed as a place-holder
holder for a fuller ice model. Currently, this routine simply
"caps" the temperatures to above -1.9 Celsius.


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Dec 9 16:11:51 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19, checkpoint20
Changes since 1.39: +2 -1 lines
Diff to previous 1.39
Added IMPLICIT NONE in a lot of subroutines.
Also corrected the recip_Rhonil bug: we didn't set it in ini_parms.F


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Dec 8 19:44:28 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
Changes since 1.38: +5 -1 lines
Diff to previous 1.38
Implementation of Open Boundaries:
 o new source code: ini_obcs.F set_obcs.F apply_obcs1.F apply_obcs2.F
                    OBCS.h
 o modified code at a few points, key changes are in
    dynamcis.F the_model_main.F and ini_cg2d.F
 o documentation in OBCS.h and doc/OpenBound.*


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 22:44:45 1998 UTC (25 years, 5 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint18
Changes since 1.37: +50 -14 lines
Diff to previous 1.37
Changes to allow for atmospheric integration builds of the code


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Tue Nov 3 15:28:04 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint17
Changes since 1.36: +3 -3 lines
Diff to previous 1.36
Partial changes to incoporate atmospheric configuration
Minor TAMC compliance changes
Included one-layer verification experiment exp0


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 03:11:37 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint16
Changes since 1.35: +10 -7 lines
Diff to previous 1.35
Changes to support
 - g77 compilation under Linux
 - LR(1) form of 64-bit is D or E for constants
 - Modified adjoint of exch with adjoint variables
   acuumulated.


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Sep 29 18:50:57 1998 UTC (25 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint15
Changes since 1.34: +3 -1 lines
Diff to previous 1.34
Changes for new exchange routines which do general tile <-> tile
connectivity, variable width overlap regions and provide
hooks for shared memory  and DMA protocols like Arctic, Memory Channel
etc..


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Sep 7 16:23:11 1998 UTC (25 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint14
Changes since 1.33: +5 -5 lines
Diff to previous 1.33
Consistent isomorphism changes


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Sep 6 17:35:20 1998 UTC (25 years, 7 months ago) by cnh
Branch: MAIN
Changes since 1.32: +7 -1 lines
Diff to previous 1.32
Consistent isomorphism changes


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sun Aug 23 15:34:40 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31
Consistent isomorphism changes


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Aug 22 17:51:08 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.30: +26 -25 lines
Diff to previous 1.30
Isomorphism consistency changes


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Aug 20 20:05:01 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.29: +103 -110 lines
Diff to previous 1.29
Isomorphism consistency changes


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Aug 20 19:26:40 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.28: +8 -7 lines
Diff to previous 1.28
Isomorphism consistency changes


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Thu Aug 20 19:25:05 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
Isomorphism consistency changes


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Thu Aug 20 16:03:15 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.26: +33 -29 lines
Diff to previous 1.26
Changes to support consistent pressure-height isomorphism


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Aug 19 16:20:49 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.25: +35 -16 lines
Diff to previous 1.25
Changes to support r as vertical coordinate


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu Jul 16 15:23:43 1998 UTC (25 years, 9 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint13
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
Added diagnostics for KapGM.
Added GMmaxval to limit values of KapGM when using the Ri # formula.


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Jul 1 19:57:22 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: branch-point-rdot, checkpoint10, checkpoint11, checkpoint12
Branch point for: branch-rdot
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
Changed the #include at the top from CPP_EEOPTIONS.h to CPP_OPTIONS.h
This ought to be done through-out (?) but was necessary in at least
the_model_main.F, dynamics.F, ini_parms.F because of the new
macro ALLOW_DIAGNOSTICS.


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Wed Jul 1 19:49:36 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.22: +11 -1 lines
Diff to previous 1.22
The time-averaging diagnostics has been modified to include
averages of "intermediate" quantities that exist only on a tile.
We currently only time-average K13, K23 and wVel but these
should be usable as a template for other diagnostics.
We have now split off these routines into a separate module
called diags/. Use of these routines is enabled by the
CPP flag ALLOW_DIAGNOSTICS set in model/inc/CPP_OPTIONS.h


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue Jun 23 02:35:59 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
Fix for GM/Redi parameterisation:
 o KapGM is now set to GMkbackground in dynamics() because
   the TOP_LAYER method wouldn't work in calc_iso_slopes()
   since it is called from the K >= 2
 o This might be a messy fix but it was so simple I couldn't
   resist it. A better way might have been to call calc_isoslopes()
   before the K>=2 loop with K=1. Anyway, it works...


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Jun 22 15:26:25 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint8, checkpoint9
Changes since 1.20: +23 -11 lines
Diff to previous 1.20
Various changes including time-dependant forcing:
 o logic for controlling external forcing fields now allows
   for time-dependant forcing: load_external_fields.F
 o genmake.dec needed a special line for the above file.
 o theta* and salt* time-stepping algorithm were re-implemented.
The 4x4 global configuration has been "double-checked" against
CNH's version. However, we do not assume any responsibility for
the correctness of this code ...  8-)


Revision 1.19.2.2 - (view) (download) (annotate) - [select for diffs]
Sat Jun 20 21:04:59 1998 UTC (25 years, 10 months ago) by cnh
Branch: checkpoint7-4degree-ref
Changes since 1.19.2.1: +13 -13 lines
Diff to previous 1.19.2.1 , to branch point 1.19 , to next main 1.178
Changes to prepare for release
 o moved gTNm1 initial setting
 o changed .meta file form and naming convention


Revision 1.19.2.1 - (view) (download) (annotate) - [select for diffs]
Fri Jun 19 04:55:13 1998 UTC (25 years, 10 months ago) by cnh
Branch: checkpoint7-4degree-ref
Changes since 1.19: +17 -5 lines
Diff to previous 1.19
Corrections to allow consistent time level in the_model_main
without breaking convective adjustment etc...


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Jun 15 05:17:42 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
Changes since 1.19: +13 -13 lines
Diff to previous 1.19
Commented out debugging at end


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Jun 15 05:13:56 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint7
Branch point for: checkpoint7-4degree-ref
Changes since 1.18: +97 -80 lines
Diff to previous 1.18
Fairly coplete 4 degree global intercomparison
setup.
 Includes changes to make convective adjustment and hydrostatic
pressure correct as well as IO for climatological datasets


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Jun 10 16:05:39 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.17: +26 -19 lines
Diff to previous 1.17
Added code to bring "salt" up-to-date with "theta".
One caveat is that implicit diffusion of salt is done with the
diffusivity of theta. We'll sort this out later. In explicit
mode, diffKzS is used.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Jun 10 01:44:03 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
Changes since 1.16: +11 -11 lines
Diff to previous 1.16
Fixed problems with _RS -> REAL*4 and with reading in
intial hydrography


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 16:34:03 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15
Initialised maskC edge values to 0 to prevent
NaN errors


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 15:58:36 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.14: +23 -22 lines
Diff to previous 1.14
Various corrections:
 o do_gterm_blocking..() is fixed to work with new time-stepping
 o CPP_OPTIONS.h now contains #define ALLOW_CD


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Jun 8 21:43:01 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint6
Changes since 1.13: +9 -5 lines
Diff to previous 1.13
Merge of GM Redi and spherical polar and inplicit diffusion
and CD. Everything for a global run is now included, however,
still some discrepancies with GM Redi.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Jun 8 18:45:28 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint5
Changes since 1.12: +2 -2 lines
Diff to previous 1.12
Various corrections:
 o implicitDiffusion was missing from PARAMS.h (obviously forgot to commit)
 o maskUp in calc_common_fact() is now correct
 o find_rho() now has the proper "referencing" for "LINEAR" eos-mode
   [also affected a call from dynamics()]


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Jun 1 22:27:14 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.11: +41 -26 lines
Diff to previous 1.11
Implemented implicit vertical diffusion (tracers only).
Involved introducing a "total" diffusivity array (local 3D)
calculated by calc_diffusivity().
Made some small changes to time-stepping algorithm.
Switched on by setting implicitZdiffusion.
(note: *Not* fully tested with topography. But when switched off
this does produce identical results)


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Jun 1 20:36:13 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.10: +74 -15 lines
Diff to previous 1.10
Swapped the time-stepping algorithm around (just a little bit).
We now officially use the predictor-corrector terminology.
We make the prediction step at the end of the dynamics() section
and store the result in the gUNm1, gVNm1, gTNm1 arrays.
The "tricky" part is that at the beginning of the dynamics section,
where the "correction" is made, theses arrays must be initialised
at the beginning of any run. A new routine init_predictor() does this.
This is "all" in preparation for implicit diffusion. Let's hope
it's enough...


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu May 28 16:19:50 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint4
Changes since 1.9: +35 -11 lines
Diff to previous 1.9
Changes to:
 o read in coefficients for POLY3 EOS.
 o find_rho() polynomial evaluation has been factorized.
 o additional density field needed in calc_iso_slopes() with non-linear EOS.

This EOS must use the appropriate version of KNUDSEN to generate the
coefficients file (POLY3.COEFFS). C7 and C8 were back to front in
all previous versions of the model (compare01).


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon May 25 21:29:45 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint3
Changes since 1.8: +18 -14 lines
Diff to previous 1.8
Added flags for turning off momentum equation and/or temperature equation


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon May 25 20:05:55 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
Changes since 1.7: +8 -3 lines
Diff to previous 1.7
Added extra IO features
 - runtime on/off flags
 - more reporting of configuration


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon May 25 16:17:36 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
Changes since 1.6: +59 -58 lines
Diff to previous 1.6
Added changes to support implicit free-surface.
 - included gBaro a "barotropic" gravity that can
   be set differently to the g.rhoprime gravity.
 - discovered and fixed coding error in dynamics
   loop. Per tile temporaries that needed correct
   initial values were not being reset for each tile.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed May 20 21:29:31 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint2, redigm
Changes since 1.5: +33 -1 lines
Diff to previous 1.5
GM/Redi parameterization. calc_isoslopes() calculates components
of Redi tensor. calc_gt() then uses these components in a modified
vertical tracer flux. AJA


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Mon May 4 16:32:10 1998 UTC (26 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint1
Changes since 1.4: +33 -27 lines
Diff to previous 1.4
Changed the descretization of hydrostatic pressure (now barZ(dz)*barZ(rho) )
to conserve potential energy. This was the original discretization but
when I (AJA) made the outer K loop I changed the discretization. Sorry.


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Apr 30 14:03:28 1998 UTC (26 years ago) by adcroft
Branch: MAIN
CVS Tags: kloop2
Changes since 1.3: +14 -3 lines
Diff to previous 1.3
Moved the "K loop" from timestep() upto dynamics(). dynamics() now
contains all K loops (two infact).


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Apr 29 21:31:09 1998 UTC (26 years ago) by adcroft
Branch: MAIN
CVS Tags: kloop1
Changes since 1.2: +46 -11 lines
Diff to previous 1.2
Moved the K loops from convect(), find_rho() and calc_ph() up to
this level (dynamics).


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Apr 24 02:05:40 1998 UTC (26 years ago) by cnh
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Further $Id to $Header conversions


Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Wed Apr 22 19:15:30 1998 UTC (26 years ago) by cnh
Branch: cnh
CVS Tags: baseline, start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.178
Imported working release


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed Apr 22 19:15:30 1998 UTC (26 years ago) by cnh
Branch: MAIN
Branch point for: cnh
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.22