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

📄 forward_declarations.h

📁 基于格子Boltzmann方法开源可视化软件的源代码 具有很高的实用价值。对学习LBM方法及其软件开发非常游泳
💻 H
字号:
//##############################################################################//// Copyright (C), 2005, Michael Sukop and Danny Thorne//// forward_declarations.h////  - Forward declarations of routines for lb_prime.//#ifndef FORWARD_DECLARATIONS_H#define FORWARD_DECLARATIONS_Hvoid dump_frame_summary( struct lattice_struct *lattice);void dump_macro_vars( struct lattice_struct *lattice, int time);void collide( struct lattice_struct *lattice);void compute_macro_vars( struct lattice_struct *lattice);void compute_feq( struct lattice_struct *lattice);void compute_max_rho( lattice_ptr lattice, double *max_rho, int subs);void compute_max_u( lattice_ptr lattice, double *max_u, int subs);void compute_ave_u( lattice_ptr lattice, double *max_u, int subs);void compute_ave_ueq( lattice_ptr lattice, double *max_u);void process_matrix( struct lattice_struct *lattice, int **matrix, int subs);void process_bcs( lattice_ptr lattice, int subs);void read_params( lattice_ptr lattice, const char *infile);void construct_lattice( lattice_ptr *lattice, int argc, char **argv);void init_problem( struct lattice_struct *lattice);void destruct_lattice( struct lattice_struct *lattice);void init_problem( struct lattice_struct *lattice);void destruct_lattice( struct lattice_struct *lattice);void dump_macro_vars( struct lattice_struct *lattice, int time);void dump_pdf( struct lattice_struct *lattice, int time);void dump_lattice_info( struct lattice_struct *lattice);#if DO_NOT_STORE_SOLIDSvoid dump_node_info( struct lattice_struct *lattice);#endif /* DO_NOT_STORE_SOLIDS */void dump_checkpoint( struct lattice_struct *lattice, int time, char *fn);void read_checkpoint( struct lattice_struct *lattice);void stream( struct lattice_struct *lattice);void slice( lattice_ptr lattice);void private_slice( lattice_ptr lattice,      char *root_word, int i0, int j0, int i1, int j1);#if NON_LOCAL_FORCESvoid compute_phase_force( lattice_ptr lattice, int subs);void compute_fluid_fluid_force( lattice_ptr lattice);void compute_double_fluid_solid_force( lattice_ptr lattice);void compute_single_fluid_solid_force( lattice_ptr lattice, int subs);void dump_forces( struct lattice_struct *lattice);void force2bmp( lattice_ptr lattice);void sforce2bmp( lattice_ptr lattice);#endif /* NON_LOCAL_FORCES */void rho2bmp( lattice_ptr lattice, int time);void u2bmp( lattice_ptr lattice, int time);void vor2bmp( lattice_ptr lattice, int time);void count_colormap( int *num_colors);void allocate_colormap( double ***colormap, int num_colors);void read_colormap( double **colormap, int num_colors);void deallocate_colormap( double ***colormap, int num_colors);void get_color(        double **colormap, int num_colors,        double c, char *r, char *g, char *b);#if WRITE_CHEN_DAT_FILESvoid chen_output( lattice_ptr lattice);#endif /* WRITE_CHEN_DAT_FILES */#if MANAGE_BODY_FORCEinline void manage_body_force( lattice_ptr lattice);#endif /* MANAGE_BODY_FORCE */#if INAMURO_SIGMA_COMPONENT && STORE_BTCvoid sigma_stuff( lattice_ptr lattice);#endif /* INAMURO_SIGMA_COMPONENT && STORE_BTC */void bmp_read_header( FILE *in, struct bitmap_info_header *bmih);void bmp_read_entry(   FILE *in,   struct bitmap_info_header bmih,   char *r, char *g, char *b);void report_open( report_ptr report, char *name);void report_integer_entry(        report_ptr report, char *label, int value, char *units);void report_ratio_entry(        report_ptr report, char *label, double num, double den, char *units);void report_entry( report_ptr report, char *entry_left, char *entry_right);void report_close( report_ptr report);void report_partition( report_ptr report);int get_sizeof_lattice_structure( lattice_ptr lattice);int get_sizeof_lattice(           lattice_ptr lattice);int get_num_active_nodes(         lattice_ptr lattice);inline void run_man( lattice_ptr lattice);inline void dump( lattice_ptr lattice, int tick_num);#ifdef PARALLELvoid lbmpi_construct( lbmpi_ptr lbmpi, lattice_ptr lattice, int argc, char **argv);void lbmpi_allocate_datatypes( lbmpi_ptr lbmpi, lattice_ptr lattice);MPI_Aint *lbmpi_get_Index0_ptr( lbmpi_ptr lbmpi);#endif /* (PARALLEL) */#endif /* FORWARD_DECLARATIONS_H */

⌨️ 快捷键说明

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