HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 MPIRank1D(int, int *, int *)
Definition: MPIRank1D.c:26
int MPISum_integer(int *, int *, int, void *)
Definition: MPISum.c:16
int MPIBroadcast_double(double *, int, int, void *)
Definition: MPIBroadcast.c:9
int MPIPartitionArraynDwGhosts(int, void *, double *, double *, int *, int *, int, int)
int MPIGatherArray1D(void *, double *, double *, int, int, int, int)
int MPIExchangeBoundaries1D(void *, double *, int, int, int, int)
int MPIPartitionArray1D(void *, double *, double *, int, int, int, int)
int MPIMax_integer(int *, int *, int, void *)
Definition: MPIMax.c:15
int MPISum_double(double *, double *, int, void *)
Definition: MPISum.c:39
int MPIMax_double(double *, double *, int, void *)
Definition: MPIMax.c:38
int MPICreateIOGroups(void *)
Definition: MPIIOGroups.c:37
int MPIMax_long(long *, long *, int, void *)
int MPIGatherArraynDwGhosts(int, void *, double *, double *, int *, int *, int, int)
int MPIGatherArraynD(int, void *, double *, double *, int *, int *, int, int)
int MPIRanknD(int, int, int *, int *)
Definition: MPIRanknD.c:27
int MPIPartition1D(int, int, int)
int MPIFreeCommunicators(int, void *)
int gpuMPIExchangeBoundariesnD(int, int, const int *, int, void *, double *)
int MPIBroadcast_character(char *, int, int, void *)
Definition: MPIBroadcast.c:37
int MPIPartitionArraynD(int, void *, double *, double *, int *, int *, int, int)
int MPILocalDomainLimits(int, int, void *, int *, int *, int *)
int MPIMin_double(double *, double *, int, void *)
Definition: MPIMin.c:38
void MPIGetFilename(char *, void *, char *)
int MPIExchangeBoundariesnD(int, int, int *, int, void *, double *)
int MPIGetArrayDatanD(double *, double *, int *, int *, int *, int *, int, int, int, void *)
int MPIMin_integer(int *, int *, int, void *)
Definition: MPIMin.c:15
int MPICreateCommunicators(int, void *)
int MPIBroadcast_integer(int *, int, int, void *)
Definition: MPIBroadcast.c:23
MPI related structure.