6#define kpp_zsbl __kpp_MOD_zsbl
8#define kpp_zbbl __kpp_MOD_zbbl
10#define kpp_ric __kpp_MOD_ric
12#define kpp_kpp_sbl __kpp_MOD_kpp_sbl
14#define kpp_kpp_bbl __kpp_MOD_kpp_bbl
16#define kpp_kpp_interior __kpp_MOD_kpp_interior
18#define kpp_clip_mld __kpp_MOD_clip_mld
82 __kpp_MOD_do_kpp (
nlev,
h0,
h,
rho,
u,
v,
nn,
nnt,
nns,
ss,
u_taus,
u_taub,
tflux,
btflux,
sflux,
bsflux,
trad,
brad,
f);
136 __kpp_MOD_surface_layer (
nlev,
h0,
h,
rho,
u,
v,
nn,
u_taus,
u_taub,
tflux,
btflux,
sflux,
bsflux,
trad,
brad,
f);
174 __kpp_MOD_bottom_layer (
nlev,
h0,
h,
rho,
u,
v,
nn,
u_taus,
u_taub,
tflux,
btflux,
sflux,
bsflux,
trad,
brad,
f);
200 if (!
strcmp (name,
"zsbl"))
202 if (!
strcmp (name,
"zbbl"))
204 if (!
strcmp (name,
"ric"))
206 if (!
strcmp (name,
"kpp_sbl"))
208 if (!
strcmp (name,
"kpp_bbl"))
210 if (!
strcmp (name,
"kpp_interior"))
212 if (!
strcmp (name,
"clip_mld"))
scalar f[]
The primary fields are:
static void kpp_bottom_layer(integer *nlev, realtype *h0, realtype *h, realtype *rho, realtype *u, realtype *v, realtype *nn, realtype *u_taus, realtype *u_taub, realtype *tflux, realtype *btflux, realtype *sflux, realtype *bsflux, realtype *trad, realtype *brad, realtype *f)
logical __kpp_MOD_kpp_bbl
void __kpp_MOD_interior(integer *nlev, realtype *nn, realtype *nnt, realtype *nns, realtype *ss)
void __kpp_MOD_wscale(realtype *bfsfc, realtype *u_taus, realtype *d, realtype *wm, realtype *ws)
logical __kpp_MOD_kpp_sbl
void __kpp_MOD_bottom_layer(integer *nlev, realtype *h0, realtype *h, realtype *rho, realtype *u, realtype *v, realtype *nn, realtype *u_taus, realtype *u_taub, realtype *tflux, realtype *btflux, realtype *sflux, realtype *bsflux, realtype *trad, realtype *brad, realtype *f)
static void kpp_do_kpp(integer *nlev, realtype *h0, realtype *h, realtype *rho, realtype *u, realtype *v, realtype *nn, realtype *nnt, realtype *nns, realtype *ss, realtype *u_taus, realtype *u_taub, realtype *tflux, realtype *btflux, realtype *sflux, realtype *bsflux, realtype *trad, realtype *brad, realtype *f)
static void kpp_init_kpp(integer *namlst, char *fn, integer *nlev, realtype *h0, realtype *h, realtype *kpp_g, realtype *kpp_rho_0)
static void kpp_wscale(realtype *bfsfc, realtype *u_taus, realtype *d, realtype *wm, realtype *ws)
logical __kpp_MOD_kpp_interior
static void kpp_surface_layer(integer *nlev, realtype *h0, realtype *h, realtype *rho, realtype *u, realtype *v, realtype *nn, realtype *u_taus, realtype *u_taub, realtype *tflux, realtype *btflux, realtype *sflux, realtype *bsflux, realtype *trad, realtype *brad, realtype *f)
void __kpp_MOD_init_kpp(integer *namlst, char *fn, integer *nlev, realtype *h0, realtype *h, realtype *kpp_g, realtype *kpp_rho_0, long int _slfn)
void __kpp_MOD_clean_kpp()
static void kpp_clean_kpp(void)
void __kpp_MOD_do_kpp(integer *nlev, realtype *h0, realtype *h, realtype *rho, realtype *u, realtype *v, realtype *nn, realtype *nnt, realtype *nns, realtype *ss, realtype *u_taus, realtype *u_taub, realtype *tflux, realtype *btflux, realtype *sflux, realtype *bsflux, realtype *trad, realtype *brad, realtype *f)
realtype kpp_get_global(const char *name)
void __kpp_MOD_surface_layer(integer *nlev, realtype *h0, realtype *h, realtype *rho, realtype *u, realtype *v, realtype *nn, realtype *u_taus, realtype *u_taub, realtype *tflux, realtype *btflux, realtype *sflux, realtype *bsflux, realtype *trad, realtype *brad, realtype *f)
logical __kpp_MOD_clip_mld
static void kpp_interior(integer *nlev, realtype *nn, realtype *nnt, realtype *nns, realtype *ss)
#define rho(f)
The density and viscosity are defined using arithmetic averages by default.