Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

globals.h

Go to the documentation of this file.
00001 
00006 #ifndef __GLOBALS_H__
00007 #define __GLOBALS_H__
00008 
00009 #include "cmdparam.h"
00010 
00011 
00013 #ifndef NPES
00014 #define NPES 1
00015 #endif
00016 
00019 #define PARENTPE     0
00020 #define YOUNGESTPE   (NPEs-1)
00021 #define AMPARENTPE   (MyPE==PARENTPE)
00022 #define AMYOUNGESTPE (MyPE==YOUNGESTPE)
00023 
00024 
00025 /* Common question to ask */
00026 #define PEISME(pe) ((pe)==MyPE)
00027 
00028 
00042 #define DEATH_FLAG        1.0E-10
00043 //#define DEATH_FLAG        1.0E10
00044 
00045 
00046 /* Public parameters */
00047 extern int    iteration;
00048 extern int    presentation;
00049 extern int    MyPE;
00050 extern int    network_initialized;
00051 extern int    NPEs;
00052 extern string filebase;
00053 
00054 
00055 /* Public functions */
00056 SETFN_DECLARE2(fixed_arch_param_setfn2);
00057 SETFN_DECLARE2(read_only_param_setfn2);
00058 void   globals_init_hook( void );
00059 void   kernel_init_hook( void );
00060 
00061 #endif
00062 

Generated on Mon Jan 20 02:35:44 2003 for RF-LISSOM by doxygen1.3-rc2