/[MITgcm]/MITgcm/pkg/mom_common/mom_calc_visc.F
ViewVC logotype

Log of /MITgcm/pkg/mom_common/mom_calc_visc.F

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


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

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Thu Sep 10 17:53:04 2015 UTC (8 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD, 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.48: +17 -12 lines
Diff to previous 1.48
add deep-atmosphere geometry factor in these routines


Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sat Jun 28 22:36:04 2014 UTC (9 years, 10 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint64z, checkpoint65, checkpoint65a, checkpoint65b, checkpoint65c, checkpoint65d, checkpoint65e, checkpoint65f, checkpoint65g, checkpoint65h, checkpoint65i, checkpoint65j, checkpoint65k, checkpoint65l, checkpoint65m, checkpoint65n
Changes since 1.47: +7 -1 lines
Diff to previous 1.47
- ifdef ALLOW_AUTODIFF then include viscFacAdj factor.


Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri Apr 4 20:08:11 2014 UTC (10 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64v, checkpoint64w, checkpoint64x, checkpoint64y
Changes since 1.46: +9 -6 lines
Diff to previous 1.46
- 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.46 - (view) (download) (annotate) - [select for diffs]
Thu Aug 1 20:13:38 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64l, checkpoint64m, checkpoint64n, checkpoint64o, checkpoint64p, checkpoint64q, checkpoint64r, checkpoint64s, checkpoint64t, checkpoint64u
Changes since 1.45: +31 -33 lines
Diff to previous 1.45
- always set horiz. viscosity arrays to background value before calling
  MOM_CALC_VISC (in MOM_FLUXFORM & MOM_VECINV) and call S/R MOM_CALC_VISC
  only when using variable horiz. viscosity (useVariableVisc=T);


Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sun Jul 28 21:04:25 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.44: +90 -132 lines
Diff to previous 1.44
store in common block (in MOM_VISC.h): useHarmonicVisc, useBiharmonicVisc
 & useVariableVisc, (previously local flag harmonic, biharmonic
 & useVariableViscosity, were set for each k in mom_common/mom_calc_visc.F
and pass as argument back to S/R MOM_FLUXFORM & MOM_VECINV)


Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue May 3 19:32:35 2011 UTC (13 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62x, checkpoint62y, checkpoint62z, checkpoint63, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint64, checkpoint64a, checkpoint64b, checkpoint64c, checkpoint64d, checkpoint64e, checkpoint64f, checkpoint64g, checkpoint64h, checkpoint64i, checkpoint64j, checkpoint64k
Changes since 1.43: +18 -12 lines
Diff to previous 1.43
OBC in momentum: multiply gradient of vorticity (Leith) by maskInW,S


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Wed Feb 17 00:21:35 2010 UTC (14 years, 3 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint62c, checkpoint62d, checkpoint62e, checkpoint62f, checkpoint62g, checkpoint62h, checkpoint62i, checkpoint62j, checkpoint62k, checkpoint62l, checkpoint62m, checkpoint62n, checkpoint62o, checkpoint62p, checkpoint62q, checkpoint62r, checkpoint62s, checkpoint62t, checkpoint62u, checkpoint62v, checkpoint62w
Changes since 1.42: +32 -1 lines
Diff to previous 1.42
ALLOW_3D_VISCAH/ALLOW_3D_VISCA4 => 3D specification of Viscosity
   => addition to the viscosity field as computed by others schemes


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue Dec 8 21:43:43 2009 UTC (14 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62a, checkpoint62b
Changes since 1.41: +3 -1 lines
Diff to previous 1.41
avoid un-used variables


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Nov 13 08:07:50 2009 UTC (14 years, 6 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint61y, checkpoint61z
Changes since 1.40: +5 -1 lines
Diff to previous 1.40
add CPP flag to exclude even more code for better vectorizable adjoint
code


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Sep 17 16:57:13 2009 UTC (14 years, 8 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint61v, checkpoint61w, checkpoint61x
Changes since 1.39: +12 -27 lines
Diff to previous 1.39
Move computation of length scales to mom_init_fixed.F (avoid recomputation
at each time-steps*levels).


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Fri Aug 14 20:31:05 2009 UTC (14 years, 9 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint61u
Changes since 1.38: +2 -4 lines
Diff to previous 1.38
Remove useless length scale L4


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Wed May 27 01:35:25 2009 UTC (15 years ago) by dfer
Branch: MAIN
CVS Tags: checkpoint61p, checkpoint61q, checkpoint61r, checkpoint61s, checkpoint61t
Changes since 1.37: +4 -12 lines
Diff to previous 1.37
Fix computations of L4rdt.


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Apr 6 23:47:06 2009 UTC (15 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint61l, checkpoint61m, checkpoint61n, checkpoint61o
Changes since 1.36: +3 -2 lines
Diff to previous 1.36
Overlaps had been forgotten in calculating ijk keys
(spotted by jmc using gfortran with check-bounds)


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Oct 22 00:28:47 2008 UTC (15 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61e, checkpoint61f, checkpoint61g, checkpoint61h, checkpoint61i, checkpoint61j, checkpoint61k
Changes since 1.35: +3 -3 lines
Diff to previous 1.35
changes in FILL_CS_CORNER_TR_RL argument list.


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 22:50:11 2008 UTC (16 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59q, checkpoint59r, checkpoint60, checkpoint61, checkpoint61a, checkpoint61b, checkpoint61c, checkpoint61d
Changes since 1.34: +1 -5 lines
Diff to previous 1.34
get rid of tons of "ph-test a/b" in standard output


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Apr 21 15:17:33 2008 UTC (16 years, 1 month ago) by heimbach
Branch: MAIN
Changes since 1.33: +17 -10 lines
Diff to previous 1.33
Put in place a i-j-k comlev storing for messy Leith scheme loop.
Allowing recomputation produces wrong TAF adjoint
so we have to store here (if we want to include this code).


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri Apr 18 18:11:43 2008 UTC (16 years, 1 month ago) by heimbach
Branch: MAIN
Changes since 1.32: +35 -8 lines
Diff to previous 1.32
Add Leith code to adjoint to produce some nice noisy setup for Jean.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Mar 24 00:25:31 2008 UTC (16 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59p
Changes since 1.31: +114 -104 lines
Diff to previous 1.31
- fix bug in average value of viscAh_W & viscA4_W next to the bottom
  (only used with variable horizontal viscosity and non-hydrostatic).


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Wed Nov 14 16:00:33 2007 UTC (16 years, 6 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint59k, checkpoint59l, checkpoint59m, checkpoint59n, checkpoint59o
Changes since 1.30: +12 -19 lines
Diff to previous 1.30
revert to version 1.29 after an accidental check-in (these
nice interfaces make me sloppy ...)


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Nov 14 15:55:26 2007 UTC (16 years, 6 months ago) by mlosch
Branch: MAIN
Changes since 1.29: +19 -12 lines
Diff to previous 1.29
fix bug in seaice_ocean_stress (call of seaice_calc_strainrates),
requires change of parameter list of seaice_calc_strainrates


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Oct 22 13:24:50 2007 UTC (16 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59j
Changes since 1.28: +3 -1 lines
Diff to previous 1.28
reduce number of warning for "unsused variable"


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Thu Oct 11 13:22:00 2007 UTC (16 years, 7 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint59i
Changes since 1.27: +12 -19 lines
Diff to previous 1.27
reorganize some if-statements and replace some powers by
multiplication thus speeding up the code by 30%, again thanks to
Jens-Olaf Beismann


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 02:20:40 2007 UTC (16 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59f, checkpoint59g, checkpoint59h
Changes since 1.26: +8 -5 lines
Diff to previous 1.26
add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL calls


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Fri Jul 27 22:18:58 2007 UTC (16 years, 10 months ago) by heimbach
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25
Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC
that used to hide exch2 or cubed-sphere specific code
(commented via 'cph-exch2')


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 16:36:41 2007 UTC (16 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint59e
Changes since 1.24: +6 -4 lines
Diff to previous 1.24
Change from 1/8 to 1/32 scaling from Baylor.
Need to check if there are any verif expts affected.


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Nov 23 09:49:36 2006 UTC (17 years, 6 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint58s_post, checkpoint58t_post, checkpoint58u_post, checkpoint58v_post, checkpoint58w_post, checkpoint58x_post, checkpoint58y_post, checkpoint59, checkpoint59a, checkpoint59b, checkpoint59c, checkpoint59d, mitgcm_mapl_00
Changes since 1.23: +2 -4 lines
Diff to previous 1.23
continue to fix the initialisation so that adva.weizmann.ac.il is
happy (and also all the the other lonely Aphla's out there)


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Fri Jul 7 18:52:10 2006 UTC (17 years, 10 months ago) by baylor
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58m_post, checkpoint58n_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58r_post
Changes since 1.22: +30 -2 lines
Diff to previous 1.22
Check in of variable viscosity passing to nonhydro.


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


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Nov 24 00:06:37 2005 UTC (18 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57x_post, checkpoint57y_post, checkpoint57y_pre, checkpoint57z_post, checkpoint58, checkpoint58a_post, checkpoint58b_post, checkpoint58c_post, checkpoint58d_post, checkpoint58e_post
Changes since 1.20: +39 -1 lines
Diff to previous 1.20
o Disable useVariableViscosity for adjoint for time being
  (there are a number of extensive recomputations)
o Initialize certain variables needed for adjoint


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Wed Oct 12 20:24:22 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57v_post, checkpoint57w_post
Changes since 1.19: +43 -29 lines
Diff to previous 1.19
mask gradient of vorticity (in case using no_slip_side BC).


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Oct 10 19:49:48 2005 UTC (18 years, 7 months ago) by baylor
Branch: MAIN
Changes since 1.18: +6 -6 lines
Diff to previous 1.18
Fix bug and add to tag_index.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Oct 10 18:45:30 2005 UTC (18 years, 7 months ago) by baylor
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17
Adding suggestions for values of coefficients.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Oct 10 17:23:07 2005 UTC (18 years, 7 months ago) by baylor
Branch: MAIN
Changes since 1.16: +46 -31 lines
Diff to previous 1.16
Redefine viscC?Leith? so that the coefficient is proportional to the enstrophy dissipation lengthscale (as Smag coefficient is proportional to the energy dissipation lengthscale).


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Oct 4 02:49:13 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpint57u_post
Changes since 1.15: +53 -25 lines
Diff to previous 1.15
make divergence part of Leith scheme usable on CS-grid.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Oct 3 21:43:03 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.14: +27 -9 lines
Diff to previous 1.14
fix KE averaging at vorticity point for Uscl & U4scl.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Sep 27 00:18:20 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57t_post
Changes since 1.13: +3 -42 lines
Diff to previous 1.13
go back to version 1.12 (exch2 stuff not needed).


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Sep 26 15:27:11 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.12: +43 -4 lines
Diff to previous 1.12
Passing viscosities to sidedrag.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Sep 23 15:35:53 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11
fix a 2._d 0 (needs space before _d) that cause Pb on some platforms


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Sep 22 14:00:59 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.10: +24 -7 lines
Diff to previous 1.10
Allow use of old scheme for viscous lengths with useAreaViscLength=.TRUE. Default: .FALSE.


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Sep 22 00:21:23 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.9: +50 -50 lines
Diff to previous 1.9
fix 2 DXC/DYC (left from DXG,DYG replacement) ; put _d 0 (instead of d0).


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Sep 21 23:17:34 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.8: +29 -17 lines
Diff to previous 1.8
Fix a bunch of bugs in mom_calc_visc with initialization of variables.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Sep 21 15:11:22 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.7: +32 -30 lines
Diff to previous 1.7
Clean up a bit.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Sep 21 14:32:59 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.6: +9 -5 lines
Diff to previous 1.6
Fix Column widths.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Sep 20 21:01:30 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.5: +8 -8 lines
Diff to previous 1.5
Adding clean version of mom_calc_visc and viscAhRemax and viscA4Remax params.


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Sep 20 20:41:43 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.4: +282 -199 lines
Diff to previous 1.4
Cleaner version of mom_calc_visc.F and added diagnostics for different viscosities.


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Sep 20 19:43:37 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
Passing hfacZ to mom_calc_visc.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Sep 20 13:09:10 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
CVS Tags: checkpoint57s_post
Changes since 1.2: +8 -8 lines
Diff to previous 1.2
Correct Smagorinsky discretization errors (with JMC's help!).


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Mon Sep 19 20:46:23 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Changes since 1.1: +18 -17 lines
Diff to previous 1.1
Fix off-by-one typos in LeithD scheme.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Sep 16 19:33:59 2005 UTC (18 years, 8 months ago) by baylor
Branch: MAIN
Here's the new viscosity calculation clearing-house.


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