globals.h

来自「CA仿真模型中SLEUTH模型」· C头文件 代码 · 共 53 行

H
53
字号
#include <limits.h>#ifndef GLOBALS_H#define GLOBALS_H#include "ugm_defines.h"#include <stdio.h>#ifdef MPI  #include <mpi.h>#endif#ifdef MAIN_MODULE  #ifndef GLOBALS_H_SCCS_ID   #define GLOBALS_H_SCCS_ID   char globals_h_sccs_id[] = "@(#)globals.h	1.259	12/4/00";  #endif#endif#ifdef MAIN_MODULE  /* stuff visible only to the main module */  int glb_i;  int glb_mype;  int glb_npes;  char msg_buf[300];  char glb_filename[300];  FILE* glb_fp;  int glb_token;#ifdef MPI  MPI_Status glb_mpi_status;#endif  #endifextern int glb_i;extern int glb_mype;extern int glb_npes;extern char msg_buf[300];extern char glb_filename[300];extern FILE* glb_fp;extern int glb_token;#ifdef MPIextern MPI_Status glb_mpi_status;#endif#endif

⌨️ 快捷键说明

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