Toast++  1.0.2 (r.539)
Forward and inverse modelling in optical tomography
toast_mpi.h
1 #ifndef __TOASTMPI_H
2 #define __TOASTMPI_H
3 
4 #include <mpi.h>
5 #include "toastdef.h"
6 #include "complex.h"
7 
8 #ifdef TOAST_MPI
9 class TMPI {
10 public:
11  TMPI() {}
12  static int Rank();
13  static int Size();
14  template<class T> static MPI_Datatype MPIType ();
15 
16 private:
17  static int rank;
18  static int size;
19 };
20 #endif
21 
22 #endif // !__TOASTMPI_H