Simpatico  v1.10
McMd_mpi.h
1 #ifndef MCMD_MPI_H
2 #define MCMD_MPI_H
3 
4 /*
5 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <util/global.h>
12 
13 #ifdef UTIL_MPI
14 
15 #include <util/mpi/MpiTraits.h>
16 #include <util/containers/Pair.h>
17 
18 namespace Util
19 {
20 
24  template <>
25  class MpiTraits< Pair<int> >
26  {
27  public:
28  static MPI::Datatype type;
29  static bool hasType;
30  };
31 
32 }
33 
34 namespace McMd
35 {
36 
40  void commitMpiTypes();
41 
42 }
43 
44 
45 #endif // ifdef UTIL_MPI
46 #endif // ifndef MCMD_MPI_H
static bool hasType
Is the MPI type initialized?
Definition: McMd_mpi.h:29
File containing preprocessor macros for error handling.
An array of exactly 2 objects.
Definition: Pair.h:23
static MPI::Datatype type
MPI Datatype.
Definition: McMd_mpi.h:28
Utility classes for scientific computation.
Definition: accumulators.mod:1
Default MpiTraits class.
Definition: MpiTraits.h:39
Single-processor Monte Carlo (MC) and molecular dynamics (MD).