Skip to content

Commit

Permalink
+Add Laplacian diffusion of interface heights
Browse files Browse the repository at this point in the history
  Added the capability to do Laplacian diffusion of interface heights without
regard to the density of layers.  This is accomplished by the new internal
subroutine add_interface_KH, and is controlled by the new runtime parameters
KH_ETA_CONST and KH_ETA_VEL_SCALE.  The new interface diffusivities are subject
to CFL bounding when combined with the previous isopycnal slope diffusivities,
with the two diffusivities reduced proportionately when the CFL limits are
exceeded.  Also simplified many openMP directives in MOM_thickness_diffuse.F90,
and fixed a number of spelling errors or other problems in comments, including
adding units to some variables.  By default, all answers are bitwise identical,
although there are new runtime parameters a new internal subroutine.
  • Loading branch information
Hallberg-NOAA authored and marshallward committed Mar 15, 2022
1 parent 0f4ebf6 commit 5a8590b
Showing 1 changed file with 260 additions and 178 deletions.
Loading

0 comments on commit 5a8590b

Please sign in to comment.