HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
mpivars.h
Go to the documentation of this file.
1 
6 #ifndef _MPIVARS_h_
7 #define _MPIVARS_h_
8 
9 #include <mpivars_struct.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
16 int MPIBroadcast_double (double*,int,int,void*);
18 int MPIBroadcast_integer (int*,int,int,void*);
20 int MPIBroadcast_character (char*,int,int,void*);
21 
23 int MPICreateCommunicators (int,void*);
25 int MPIFreeCommunicators (int,void*);
26 
32 int MPICreateIOGroups (void*);
33 
36 int MPIExchangeBoundaries1D (void*,double*,int,int,int,int);
37 
40 int MPIExchangeBoundariesnD (int,int,int*,int,void*,double*);
41 
43 int MPIGatherArray1D (void*,double*,double*,int,int,int,int);
45 int MPIGatherArraynD (int,void*,double*,double*,int*,int*,int,int);
47 int MPIGatherArraynDwGhosts (int,void*,double*,double*,int*,int*,int,int);
49 int MPIPartitionArraynD (int,void*,double*,double*,int*,int*,int,int);
51 int MPIPartitionArraynDwGhosts (int,void*,double*,double*,int*,int*,int,int);
53 int MPIPartitionArray1D (void*,double*,double*,int,int,int,int);
54 
56 int MPIGetArrayDatanD (double*,double*,int*,int*,int*,int*,int,int,int,void*);
57 
59 int MPILocalDomainLimits (int,int,void*,int*,int*,int*);
60 
62 int MPIMax_integer (int*,int*,int,void*);
64 int MPIMax_long (long*,long*,int,void*);
66 int MPIMax_double (double*,double*,int,void*);
68 int MPIMin_integer (int*,int*,int,void*);
70 int MPIMin_double (double*,double*,int,void*);
72 int MPISum_double (double*,double*,int,void*);
74 int MPISum_integer (int*,int*,int,void*);
75 
77 int MPIPartition1D (int,int,int);
78 
80 int MPIRank1D (int,int*,int*);
82 int MPIRanknD (int,int,int*,int*);
83 
86 void MPIGetFilename (char*,void*,char*);
87 
88 #if defined(HAVE_CUDA)
89 int gpuMPIExchangeBoundariesnD (int,int,const int*,int,void*,double*);
90 #endif
91 
92 #ifdef __cplusplus
93 }
94 #endif
95 
96 #endif
int MPIPartitionArraynDwGhosts(int, void *, double *, double *, int *, int *, int, int)
int MPIMin_integer(int *, int *, int, void *)
Definition: MPIMin.c:15
int MPIMax_long(long *, long *, int, void *)
int MPISum_double(double *, double *, int, void *)
Definition: MPISum.c:39
int MPIPartitionArray1D(void *, double *, double *, int, int, int, int)
int MPIExchangeBoundariesnD(int, int, int *, int, void *, double *)
int MPIBroadcast_integer(int *, int, int, void *)
Definition: MPIBroadcast.c:23
int MPIPartitionArraynD(int, void *, double *, double *, int *, int *, int, int)
int MPIMax_integer(int *, int *, int, void *)
Definition: MPIMax.c:15
int MPIExchangeBoundaries1D(void *, double *, int, int, int, int)
int MPIMin_double(double *, double *, int, void *)
Definition: MPIMin.c:38
int MPIRank1D(int, int *, int *)
Definition: MPIRank1D.c:26
int MPIBroadcast_character(char *, int, int, void *)
Definition: MPIBroadcast.c:37
int MPIGatherArraynDwGhosts(int, void *, double *, double *, int *, int *, int, int)
int MPISum_integer(int *, int *, int, void *)
Definition: MPISum.c:16
int MPIGatherArraynD(int, void *, double *, double *, int *, int *, int, int)
int MPIBroadcast_double(double *, int, int, void *)
Definition: MPIBroadcast.c:9
int MPIMax_double(double *, double *, int, void *)
Definition: MPIMax.c:38
int MPIGatherArray1D(void *, double *, double *, int, int, int, int)
void MPIGetFilename(char *, void *, char *)
int MPIFreeCommunicators(int, void *)
int MPIPartition1D(int, int, int)
int gpuMPIExchangeBoundariesnD(int, int, const int *, int, void *, double *)
int MPILocalDomainLimits(int, int, void *, int *, int *, int *)
MPI related structure.
int MPICreateIOGroups(void *)
Definition: MPIIOGroups.c:37
int MPIRanknD(int, int, int *, int *)
Definition: MPIRanknD.c:27
int MPIGetArrayDatanD(double *, double *, int *, int *, int *, int *, int, int, int, void *)
int MPICreateCommunicators(int, void *)