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

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

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


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

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Jul 24 15:41:57 2014 UTC (9 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD, checkpoint65a, checkpoint65b, checkpoint65c, checkpoint65d, checkpoint65e, checkpoint65f, checkpoint65g, checkpoint65h, checkpoint65i, checkpoint65j, checkpoint65k, checkpoint65l, checkpoint65m, checkpoint65n, checkpoint65o, checkpoint65p, checkpoint65q, checkpoint65r, checkpoint65s, checkpoint65t, checkpoint65u, checkpoint65v, checkpoint65w, checkpoint65x, checkpoint65y, checkpoint65z, checkpoint66a, checkpoint66b, checkpoint66c, checkpoint66d, checkpoint66e, checkpoint66f, checkpoint66g, checkpoint66h, checkpoint66i, checkpoint66j, checkpoint66k, checkpoint66l, checkpoint66m, checkpoint66n, checkpoint66o
Changes since 1.19: +36 -28 lines
Diff to previous 1.19
allows hFacW,S to be larger than surrounding hFacC=1 @ edge of a step with
different kSurfC on either side (topo in p-coords, ice-shelf in z-coords)


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Jun 1 18:42:24 2012 UTC (11 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63n, checkpoint63o, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint64, checkpoint64a, checkpoint64b, checkpoint64c, checkpoint64d, checkpoint64e, checkpoint64f, checkpoint64g, checkpoint64h, checkpoint64i, checkpoint64j, checkpoint64k, checkpoint64l, checkpoint64m, checkpoint64n, checkpoint64o, checkpoint64p, checkpoint64q, checkpoint64r, checkpoint64s, checkpoint64t, checkpoint64u, checkpoint64v, checkpoint64w, checkpoint64x, checkpoint64y, checkpoint64z, checkpoint65
Changes since 1.18: +6 -6 lines
Diff to previous 1.18
also use h0FacC to compute hFac_surfC (more similar to calc_r_star.F).


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Jun 1 03:22:02 2012 UTC (11 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.17: +14 -14 lines
Diff to previous 1.17
use h0FacW & S to compute hFac_surfW & S in calc_surf_dr.F (more similar
 to calc_r_star.F).


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri May 20 01:23:11 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62y, checkpoint62z, checkpoint63, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63l, checkpoint63m
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
fix previous modif


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Fri May 20 01:11:59 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.15: +29 -18 lines
Diff to previous 1.15
move call to OBCS_APPLY_SURF_DR from update_surf_dr.F to calc_surf_dr.F
 and add argument etaFld :
this fixes missing EXCH + get consistent eta OB value (+ fix restart)


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Jan 14 01:28:31 2011 UTC (13 years, 3 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint62r, checkpoint62s, checkpoint62t, checkpoint62u, checkpoint62v, checkpoint62w, checkpoint62x
Changes since 1.14: +10 -1 lines
Diff to previous 1.14
o model/src, pkg/autodiff, pkg/ecco, pkg/seaice:
  alleviate the need for additional 3D tapes when using
  the non-inear free surface in the adjoint. This is done
  by adding an 'update' of hfacc etc. to their current
  value at the beginning of forward_step.F.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Apr 28 18:01:14 2009 UTC (15 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61m, checkpoint61n, checkpoint61o, checkpoint61p, checkpoint61q, checkpoint61r, checkpoint61s, checkpoint61t, checkpoint61u, checkpoint61v, checkpoint61w, checkpoint61x, checkpoint61y, checkpoint61z, checkpoint62, checkpoint62a, checkpoint62b, checkpoint62c, checkpoint62d, checkpoint62e, checkpoint62f, checkpoint62g, checkpoint62h, checkpoint62i, checkpoint62j, checkpoint62k, checkpoint62l, checkpoint62m, checkpoint62n, checkpoint62o, checkpoint62p, checkpoint62q
Changes since 1.13: +4 -4 lines
Diff to previous 1.13
change macros (EXCH & GLOBAL_SUM/MAX) sufix _R4/_R8 to _RS/_RL
 when applied to _RS/_RL variable


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Tue Sep 4 16:49:44 2007 UTC (16 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59g, checkpoint59h, checkpoint59i, checkpoint59j, checkpoint59k, checkpoint59l, checkpoint59m, checkpoint59n, checkpoint59o, checkpoint59p, checkpoint59q, checkpoint59r, checkpoint60, checkpoint61, checkpoint61a, checkpoint61b, checkpoint61c, checkpoint61d, checkpoint61e, checkpoint61f, checkpoint61g, checkpoint61h, checkpoint61i, checkpoint61j, checkpoint61k, checkpoint61l
Changes since 1.12: +26 -26 lines
Diff to previous 1.12
reduce number of "warning: unused variable"


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Oct 19 00:15:10 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58q_post, checkpoint58r_post, checkpoint58s_post, checkpoint58t_post, checkpoint58u_post, checkpoint58v_post, checkpoint58w_post, checkpoint58x_post, checkpoint58y_post, checkpoint59, checkpoint59a, checkpoint59b, checkpoint59c, checkpoint59d, checkpoint59e, checkpoint59f, mitgcm_mapl_00
Changes since 1.11: +6 -4 lines
Diff to previous 1.11
comment out an unused line


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Jul 13 20:48:47 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58m_post, checkpoint58n_post, checkpoint58o_post, checkpoint58p_post
Changes since 1.10: +6 -6 lines
Diff to previous 1.10
remove un-used variables (to reduce Nb of compiler warnings).


Revision 1.10 - (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, checkpoint57z_post, checkpoint58, checkpoint58a_post, checkpoint58b_post, checkpoint58c_post, checkpoint58d_post, checkpoint58e_post, checkpoint58f_post, checkpoint58g_post, checkpoint58h_post, checkpoint58i_post, checkpoint58j_post, checkpoint58k_post, checkpoint58l_post
Changes since 1.9: +1 -58 lines
Diff to previous 1.9
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.9 - (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: checkpint57u_post, checkpoint54a_post, checkpoint54b_post, checkpoint54c_post, checkpoint54d_post, checkpoint54e_post, checkpoint54f_post, checkpoint55, checkpoint55a_post, checkpoint55b_post, checkpoint55c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post, checkpoint55f_post, checkpoint55g_post, checkpoint55h_post, checkpoint55i_post, checkpoint55j_post, checkpoint56, checkpoint56a_post, checkpoint56b_post, checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre, checkpoint57b_post, checkpoint57c_post, checkpoint57c_pre, checkpoint57d_post, checkpoint57e_post, checkpoint57f_post, checkpoint57f_pre, checkpoint57g_post, checkpoint57g_pre, checkpoint57h_done, checkpoint57h_post, checkpoint57h_pre, checkpoint57i_post, checkpoint57j_post, checkpoint57k_post, checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post, checkpoint57p_post, checkpoint57q_post, checkpoint57r_post, checkpoint57s_post, checkpoint57t_post, checkpoint57v_post, checkpoint57w_post, checkpoint57x_post, checkpoint57y_pre, eckpoint57e_pre
Changes since 1.8: +1 -4 lines
Diff to previous 1.8
re-write staggerTimeStep: step forward momentum 1rst and then T,S


Revision 1.3.6.2 - (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, ecco_c51_e34c, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g
Changes since 1.3.6.1: +5 -7 lines
Diff to previous 1.3.6.1 , to branch point 1.3 , to next main 1.20
Merging from c51


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 13:00:21 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: branch-netcdf, branchpoint-genmake2, checkpoint50b_post, checkpoint50b_pre, checkpoint50c_post, checkpoint50c_pre, checkpoint50d_post, checkpoint50d_pre, checkpoint50e_post, checkpoint50e_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint50g_post, checkpoint50h_post, checkpoint50i_post, checkpoint51, checkpoint51a_post, checkpoint51b_post, checkpoint51b_pre, checkpoint51c_post, checkpoint51d_post, checkpoint51e_post, checkpoint51f_post, checkpoint51f_pre, checkpoint51g_post, checkpoint51h_pre, checkpoint51i_post, checkpoint51i_pre, checkpoint51j_post, checkpoint51k_post, checkpoint51l_post, checkpoint51l_pre, checkpoint51m_post, checkpoint51n_post, checkpoint51n_pre, checkpoint51o_post, checkpoint51o_pre, checkpoint51p_post, checkpoint51q_post, checkpoint51r_post, checkpoint51s_post, checkpoint51t_post, checkpoint51u_post, checkpoint52, checkpoint52a_post, checkpoint52a_pre, checkpoint52b_post, checkpoint52b_pre, checkpoint52c_post, checkpoint52d_post, checkpoint52d_pre, checkpoint52e_post, checkpoint52e_pre, 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, ecco_c52_e35, hrcube4, hrcube5, hrcube_1, hrcube_2, hrcube_3
Branch point for: branch-genmake2, branch-nonh, checkpoint51n_branch, netcdf-sm0, tg2-branch
Changes since 1.7: +5 -7 lines
Diff to previous 1.7
limit number of WARNING when hFac becomes very large (> hFacSup);


Revision 1.3.6.1 - (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.3: +34 -18 lines
Diff to previous 1.3
merging c49 and e27


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Aug 9 22:55:35 2002 UTC (21 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: branch-exfmods-tag, checkpoint46c_post, checkpoint46c_pre, checkpoint46d_post, checkpoint46d_pre, checkpoint46e_post, checkpoint46e_pre, checkpoint46f_post, checkpoint46g_post, checkpoint46g_pre, checkpoint46h_post, checkpoint46h_pre, checkpoint46i_post, checkpoint46j_post, checkpoint46j_pre, checkpoint46k_post, checkpoint46l_post, checkpoint46l_pre, checkpoint46m_post, checkpoint46n_post, 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, checkpoint48d_post, checkpoint48d_pre, checkpoint48e_post, checkpoint48f_post, checkpoint48g_post, checkpoint48h_post, checkpoint48i_post, checkpoint49, checkpoint50, checkpoint50a_post
Branch point for: branch-exfmods-curt
Changes since 1.6: +28 -16 lines
Diff to previous 1.6
Limit the number of warning messages written on STD-ERR file


Revision 1.3.4.1 - (view) (download) (annotate) - [select for diffs]
Mon Apr 8 20:10:36 2002 UTC (22 years ago) by heimbach
Branch: release1
CVS Tags: release1_chkpt44d_post, release1_p1, release1_p10, release1_p11, release1_p12, release1_p12_pre, release1_p13, release1_p13_pre, release1_p14, release1_p15, release1_p16, release1_p17, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_p8, release1_p9
Branch point for: release1_50yr
Changes since 1.3: +8 -4 lines
Diff to previous 1.3 , to next main 1.20
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.6 - (view) (download) (annotate) - [select for diffs]
Sun Feb 10 20:04:11 2002 UTC (22 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint44e_post, checkpoint44e_pre, checkpoint44f_post, checkpoint44f_pre, checkpoint44g_post, checkpoint44h_post, checkpoint44h_pre, checkpoint45, checkpoint45a_post, checkpoint45b_post, checkpoint45c_post, checkpoint45d_post, checkpoint46, checkpoint46a_post, checkpoint46a_pre, checkpoint46b_post, checkpoint46b_pre, chkpt44d_post, release1_final_v1
Branch point for: release1_final
Changes since 1.5: +3 -2 lines
Diff to previous 1.5
initialize to zero arrays in common blocs


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Feb 10 00:44:37 2002 UTC (22 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.4: +4 -1 lines
Diff to previous 1.4
implement real fresh water with exactConserv and non-linear free-surface
  (add a specific restart treatment in this case)


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Jan 30 04:12:12 2002 UTC (22 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint44b_post, checkpoint44b_pre, chkpt44a_post, chkpt44a_pre, chkpt44c_post, chkpt44c_pre
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
small changes associated with NonLin_FreeSurf option :
* initialization (ini_psurf.F);
* dump hFac fields (write_state.F);
* avoid unnecessary re-computation (forward_step.F initialise_varia.F calc_surf_dr.F);


Revision 1.3 - (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, checkpoint42, checkpoint43, checkpoint43a-release1mods, checkpoint44, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, ecco_c44_e16, ecco_c44_e17, ecco_c44_e18, ecco_c44_e19, ecco_c44_e20, ecco_c44_e21, ecco_c44_e22, ecco_c44_e23, ecco_c44_e24, ecco_c44_e25, ecco_c44_e26, ecco_c44_e27, ecco_ice1, ecco_ice2, icebear2, icebear3, icebear4, icebear5, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials, release1_b1, release1_beta1
Branch point for: c24_e25_ice, ecco-branch, icebear, release1, release1-branch, release1_coupled
Changes since 1.2: +26 -20 lines
Diff to previous 1.2
Bringing comments up to data and formatting for document extraction.


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Aug 30 18:44:59 2001 UTC (22 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint40, checkpoint40pre9
Changes since 1.1: +135 -82 lines
Diff to previous 1.1
modified to work in shallow (1 level) region


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 18:50:10 2001 UTC (22 years, 8 months ago) by jmc
Branch: MAIN
New routines relative to NonLin-FreeSurf


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