global.h
来自「Lattice Boltzmann用于模拟方腔流的程序。 生成的plt文件需用」· C头文件 代码 · 共 25 行
H
25 行
#include <iostream.h>
#include <stdio.h>
#include <string.h>
#include <malloc.h> //分配内存的头文件
#include <stdlib.h> //分配内存的头文件
#include "define.h"
/* global variables 全局变量*/
extern double f[9][max_y][max_x],
pressure[max_y][max_x], /* 3d matrix made up of 9 2D matrices */
tau; /* 松弛时间*/
extern char wall[max_y][max_x]; /* Flag array to indicate no-slip nodes */
/* prototype declarations 原型声明 */
extern void collision();
extern void init();
extern void init_geo();
extern int main();
extern int check_convergence(int);
extern void propagate();
extern void write_tecplot_field_file(int);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?