ocean_hdiff_config_t Derived Type

type, public :: ocean_hdiff_config_t

&ocean_hdiff_nml — along-coordinate tracer Laplacian (rdb_ocean_hdiff_tracer). Diffusion along the MODEL coordinate, not neutral surfaces (that is &ocean_redi_nml, a separate already-reachable capability).


Inherited by

type~~ocean_hdiff_config_t~~InheritedByGraph type~ocean_hdiff_config_t ocean_hdiff_config_t type~ocean_config_t ocean_config_t type~ocean_config_t->type~ocean_hdiff_config_t hdiff type~config_t config_t type~config_t->type~ocean_config_t ocean type~ocean_handle_t ocean_handle_t type~ocean_handle_t->type~config_t cfg

Components

Type Visibility Attributes Name Initial
real(kind=wp), public :: kappa_h = 0.0_wp

Constant horizontal tracer diffusivity (m^2/s). Zero (default) is a no-op — the kernel short-circuits without touching hTr, so this knob is bit-identical when unset. Stability bound (explicit forward-Euler), checked at configure using the coarsest dx/dy (Cartesian metres): kappa_h * dt_therm * (1/dx^2 + 1/dy^2) <= 0.5


Source Code

   type :: ocean_hdiff_config_t
      !! `&ocean_hdiff_nml` — along-coordinate tracer Laplacian
      !! (`rdb_ocean_hdiff_tracer`).  Diffusion along the MODEL
      !! coordinate, not neutral surfaces (that is `&ocean_redi_nml`,
      !! a separate already-reachable capability).
      real(wp) :: kappa_h = 0.0_wp
         !! Constant horizontal tracer diffusivity (m^2/s).  Zero
         !! (default) is a no-op — the kernel short-circuits without
         !! touching hTr, so this knob is bit-identical when unset.
         !! Stability bound (explicit forward-Euler), checked at
         !! configure using the coarsest `dx`/`dy` (Cartesian metres):
         !!   kappa_h * dt_therm * (1/dx^2 + 1/dy^2) <= 0.5
   end type ocean_hdiff_config_t