00001 #ifndef PGLOBALT_H 00002 #define PGLOBALT_H 00003 00004 #ifndef EXTERN 00005 #define EXTERN extern 00006 #endif 00007 00008 #include "genfile.h" 00009 #include "seqfilest.h" 00010 #include "pprobdesct.h" 00011 00012 00013 //************************************** 00014 //************************************** 00015 // GLOBAL CONSTANTS AND VARIABLES 00016 //************************************** 00017 //************************************** 00018 00019 // number of processors 00020 EXTERN int Nproc; 00021 00022 // rank of process 00023 EXTERN int Myrank; 00024 00025 // number of subdomain 00026 EXTERN int Ndom; 00027 00028 // name of processors 00029 EXTERN char proc_namet[MPI_MAX_PROCESSOR_NAME]; 00030 EXTERN int nameLengtht; 00031 00032 //***************************** 00033 //***************************** 00034 // CLASSES CONTAINING DATA 00035 //***************************** 00036 //***************************** 00037 00038 // problem description 00039 EXTERN pprobdesct *Ptp; 00040 00041 // parallel solver 00042 EXTERN psolver *Psolt; 00043 00044 #endif