ESyS-Particle
2.3.4
MpiInfo.h
Go to the documentation of this file.
1
// //
3
// Copyright (c) 2003-2017 by The University of Queensland //
4
// Centre for Geoscience Computing //
5
// http://earth.uq.edu.au/centre-geoscience-computing //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.apache.org/licenses/LICENSE-2.0 //
10
// //
12
13
14
#ifndef MPIINFO_H
15
#define MPIINFO_H
16
17
#include <mpi.h>
18
23
class
MpiInfo
24
{
25
public
:
29
MpiInfo
(MPI_Comm comm = MPI_COMM_WORLD);
30
31
virtual
~MpiInfo
();
32
36
int
rank
()
const
;
37
41
int
size
()
const
;
42
43
private
:
44
MPI_Comm
m_comm
;
45
};
46
47
#endif
MpiInfo::MpiInfo
MpiInfo(MPI_Comm comm=MPI_COMM_WORLD)
Definition:
MpiInfo.cpp:17
MpiInfo::size
int size() const
Definition:
MpiInfo.cpp:33
MpiInfo::rank
int rank() const
Definition:
MpiInfo.cpp:25
MpiInfo
Definition:
MpiInfo.h:24
mpibuf.h
MpiInfo::~MpiInfo
virtual ~MpiInfo()
Definition:
MpiInfo.cpp:21
MpiInfo::m_comm
MPI_Comm m_comm
Definition:
MpiInfo.h:44
MpiInfo.h
Parallel
MpiInfo.h
Generated by
1.8.20