HARM
harm and utilities
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
Pages
mpidefs.h
Go to the documentation of this file.
1
12
#ifndef USINGLIAISON
13
14
#include "
supermpidefs.h
"
15
#endif
16
17
19
#include "
mpidefs.mpi_grmhd_grray_liaison.h
"
20
21
22
23
24
int
periodicx1
,
periodicx2
,
periodicx3
;
25
int
mpiperiodicx1
,
mpiperiodicx2
,
mpiperiodicx3
;
26
int
skipix1
,
reflectix1
,
reflectox1
;
27
int
skipix2
,
reflectix2
,
reflectox2
;
28
int
skipix3
,
reflectix3
,
reflectox3
;
29
int
intix1
,
intox1
,
intix2
,
intox2
,
intix3
,
intox3
;
30
int
skipintix1
,
skipintix2
,
skipintix3
;
31
int
ncpux1
,
ncpux2
,
ncpux3
;
32
int
truenumprocs
;
33
int
myid_world,
numprocs
;
34
int
myid;
// GRMHD CODE rank for non-MPI commands
35
int
*MPIid;
// GRMHD MPI internal rank for MPI commands
36
char
myidtxt[
MAXFILENAME
];
37
long
long
int
totalzones
,
realtotalzones
,
realtotalcompzones
;
38
long
long
int
rtotalzones
;
39
long
long
int
itotalzones
;
40
long
long
int
totalsize
[
COMPDIM
+ 1];
41
long
long
int
itotalsize
[
COMPDIM
+ 1];
42
int
mycpupos
[
COMPDIM
+ 1];
// my position amongst the cpus
43
int
primgridpos
[
NUMBOUNDTYPES
][
COMPDIM
*2][MAXNPR];
44
// NUMPACKUNPACK+1 because start at 1
45
FTYPE
primfactor
[
NUMBOUNDTYPES
][
COMPDIM
*2][
NUMPRIMGRIDPOS
][1+
NUMPACKUNPACK
][MAXNPR];
46
int
dirgenset
[
NUMBOUNDTYPES
][
COMPDIM
*2][
DIRGENNUMVARS
];
47
int
dirloopset
[
NUMBOUNDTYPES
][
COMPDIM
*2][
NUMPRIMGRIDPOS
][
DIRLOOPNUMVARS
];
48
int
srdir
[3*2];
// which direction this cpu
49
// sends/receives normal interior data
50
int
startpos
[
COMPDIM
+ 1];
51
int
endpos
[
COMPDIM
+ 1];
// startj and endj are where this CPU
52
// located on full grid
53
int
*
startpos0
[
COMPDIM
+1];
54
int
*
endpos0
[
COMPDIM
+1];
55
int
*
mycpupos0
[
COMPDIM
+1];
56
57
int
plmpiglobal
;
58
59
60
int
procnamelen
;
61
#if(USEMPI)
62
MPI_Group MPI_GROUP_WORLD;
63
char
processor_name[MPI_MAX_PROCESSOR_NAME];
64
MPI_Status mpichstatus;
65
#endif
66
68
FTYPE
ndtsend
,
bsq_maxsend
;
69
72
long
long
int
nextbuf
;
73
int
numcolumns
;
74
long
long
int
bufferoffset
;
75
long
long
int
joniosize
,
writebufsize
;
76
int
romiocoliter
;
77
78
80
//
81
// OpenMP stuff
82
//
84
85
int
numopenmpthreads
;
86
int
numopenmpthreadsorig
;
Generated on Fri May 20 2016 15:52:34 for HARM by
1.8.3.1