Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
ModelMPIbase.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MODEL is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef _MODELMPIBASE_h_
9#define _MODELMPIBASE_h_
10
11#include <string>
12
13namespace model
14{
15
17 {
18
19 static int _mpiInitialized;
20 static int _mpiRank;
21 static int _mpiProcs;
22 static std::string _processorName;
23
24 public:
25 /**********************************************************************/
26 ModelMPIbase(int argc, char *argv[]);
27
28 /**********************************************************************/
30
31 /**********************************************************************/
33
34 /**********************************************************************/
35 static void initMPI(int argc, char *argv[]);
36
37 static const int &mpiRank();
38 static const int &mpiProcs();
39 static const int &mpiInitialized();
40 static const std::string &processorName();
41 };
42
43} // namespace model
44#endif
static void initMPI(int argc, char *argv[])
static const int & mpiInitialized()
static const std::string & processorName()
static const int & mpiRank()
ModelMPIbase(int argc, char *argv[])
static const int & mpiProcs()
void argv
void b int argc