⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updateab.h

📁 波浪数值模拟
💻 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 * *//* updateAB.c   Falk Feddersen - handles the updating of the time stepes, ie U^(n+1) += .... */            #ifndef UPDATEAB_H#define UPDATEAB_H#include "bdefs.h"#include "funwaveC_timestep.h"/* ----------------------------------- *//* 4th Order Adams-Bashforth Time Stepping routine for U, V, and ETA */void update_funwaveC_AB4(field2D *U, field2D *V, field2D *ETA, field2D_time_derivative_var *DTVARS, const double dt);/* 3rd Order Adams-Bashforth Time Stepping routine for U, V, and ETA */void update_funwaveC_AB3(field2D *U, field2D *V, field2D *ETA, const field2D *UT1, const field2D *UT2, const field2D *UT3,                         const field2D *VT1, const field2D *VT2, const field2D *VT3,                          const field2D *ETAT1, const field2D *ETAT2, const field2D *ETAT3, const double dt);void update_funwaveC_AB3_FG(field2D *U, field2D *V, field2D *ETA, field2D_time_derivative_var *DTVARS, const double dt);/* 2nd Order Adams-Bashforth Time Stepping routine for U, V, and ETA */void update_funwaveC_AB2(field2D *U, field2D *V, field2D *ETA, field2D_time_derivative_var *DTVARS, const double dt);/* Euler Time Stepping routine for U, V, and ETA */void update_funwaveC_euler(field2D *U, field2D *V, field2D *ETA, const field2D *UT, const field2D *VT,                            const field2D *ETAT, const double dt);#endif  /* UPDATEAB_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -