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

📄 funwavec_timestep.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 * *//* funwaveC_timestep.h   Falk Feddersen */            #ifndef FUNWAVEC_TIMESTEP_H#define FUNWAVEC_TIMESTEP_H#include "bdefs.h"#include "timing.h"typedef struct {  field2D *U, *V;  field2D *ETA, *ETABX, *ETABY, *ETABXY;   /* eta defined on all the grids */  field2D *UXX, *UXY, *VXY, *VYY;  field2D *HUXX, *HUXY, *HVXY, *HVYY;  field2D *HU, *HV;  field2D *UT, *VT;  field2D *ETAT;  field2D *HUT, *HVT;} field2D_bousinessq_var;typedef struct {  field2D *UT1, *UT2, *UT3;  field2D *VT1, *VT2, *VT3;  field2D *U1, *U2, *U3;         // write comments on U1, U2, U3, V2, V3....  field2D *V1, *V2, *V3;  field2D *ETAT1, *ETAT2, *ETAT3;  field2D *QT1, *QT2,  *QT3;  //  field2D *F1_1, *F1_2,  *F1_3;  //  field2D *G1_1, *G1_2,  *G1_3;} field2D_time_derivative_var;extern field2D_time_derivative_var *DTVARS;void  init_funwaveC_timestep(int nx, int ny, dynamics_t Dynamics);   // initialize the d/dt array'svoid deallocate_funwaveC_timestep();        // free the memory with these arraysvoid funwaveC_timestep_AB3(timing *T);void funwaveC_timestep_AB2(timing *T);void funwaveC_timestep_euler(timing *T);#endif /* FUNWAVEC_TIMESTEP_H */

⌨️ 快捷键说明

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