📄 bousinessq_dynamics.h
字号:
/* * Copyright (c) 2001-2005 Falk Feddersen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *//* --- bousinessq_dynamics.h */#include "bdefs.h"/* ---------- NUMERICAL MODEL BOUSINESSQ DYNAMICS ROUTINUES ------------------- */void b_init_constants(dynamics_t Dynamics);/* RHS of momentum equations routines dU/dt = ... and dV/dt = .... */void b_calc_u_nonlinear(field2D *BUNL, const field2D *U, const field2D *V);void b_calc_v_nonlinear(field2D *BVNL, const field2D *U, const field2D *V);void b_calc_uvmom_F1_G1(field2D *F1, field2D *G1, const field2D *HBX, const field2D *HBY, const field2D *U, const field2D *V, const field2D *HU, const field2D *HV);//void b_calc_uvmom_F1at_G1at(field2D *F1at, field2D *G1at, const field2D *HBX, const field2D *HBY, // const field2D *UT, const field2D *VT, const field2D *HUT, const field2D *HVT);void b_calc_uvmom_F2_G2(field2D *F2, field2D *G2, const field2D *ETA, const field2D *ZA, const field2D *U, const field2D *V, const field2D *HU, const field2D *HV);void b_calc_uvmom_Ft_Gt(field2D *Ft, field2D *Gt, const field2D *ETA, const field2D *UT, const field2D *VT, const field2D *HBX, const field2D *HBY);/* function combines (F2, G2) and (Ft, Gt) into 1 function */void b_calc_uvmom_FG_WK(field2D *FWK, field2D *GWK, const field2D *ETA, const field2D *ZA, const field2D *U, const field2D *V, const field2D *HU, const field2D *HV, const field2D *UT, const field2D *VT, const field2D *HUT, const field2D *HVT);void b_calc_pressure_gradient(field2D *PGU, field2D *PGV, const field2D *ETA);/* These are the RHS of ETA routines */void b_calc_eta_div_hu(field2D *ET, const field2D *U, const field2D *V, const field2D *DEPTHBX, const field2D *DEPTHBY);void b_calc_eta_E(field2D *E, const field2D *U, const field2D *V, const field2D *ETABX, const field2D *ETABY, const field2D *HBX, const field2D *HBY, const field2D *UXX, const field2D *VXY, const field2D *HUXX, const field2D *HVXY, const field2D *UXY, const field2D *VYY, const field2D *HUXY, const field2D *HVYY);void b_calc_eta_E2(field2D *E2, const field2D *ETABX, const field2D *ETABY, const field2D *HBX, const field2D *HBY, const field2D *UXX, const field2D *VXY, const field2D *HUXX, const field2D *HVXY, const field2D *UXY, const field2D *VYY, const field2D *HUXY, const field2D *HVYY);void b_calc_eta_source_f(field2D *FSRC);/* This is the UUtmp and VVtmp initial condition routinue */void b_calc_UVtmp_from_UV(field2D *UUtmp, field2D *VVtmp, const field2D *HBX, const field2D *HBY, const field2D *U, field2D *UXX, field2D *HUXX, const field2D *V, field2D *VYY, field2D *HVYY);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -