Go to the source code of this file.
|
subroutine, public | mom_hor_visc::horizontal_viscosity (u, v, h, diffu, diffv, MEKE, VarMix, G, GV, CS, OBC) |
| This subroutine determines the acceleration due to the horizontal viscosity. A combination of biharmonic and Laplacian forms can be used. The coefficient may either be a constant or a shear-dependent form. The biharmonic is determined by twice taking the divergence of an appropriately defined stress tensor. The Laplacian is determined by doing so once. To work, the following fields must be set outside of the usual is to ie range before this subroutine is called: v[is-2,is-1,ie+1,ie+2], u[is-2,is-1,ie+1,ie+2], and h[is-1,ie+1], with a similarly sized halo in the y-direction. More...
|
|
subroutine, public | mom_hor_visc::hor_visc_init (Time, G, param_file, diag, CS) |
| This subroutine allocates space for and calculates static variables used by this module. The metrics may be 0, 1, or 2-D arrays, while fields like the background viscosities are 2-D arrays. ALLOC is a macro defined in MOM_memory.h to either allocate for dynamic memory, or do nothing when using static memory. More...
|
|
subroutine, public | mom_hor_visc::hor_visc_end (CS) |
|