source: src/comm/mpi/datatypes_local.hpp@ 894a5f

Last change on this file since 894a5f was 894a5f, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Parallel performance update.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1314 5161e1c8-67bf-11de-9fd5-51895aff932f

  • Property mode set to 100644
File size: 566 bytes
Line 
1#ifndef DATATYPES_LOCAL_HPP_
2#define DATATYPES_LOCAL_HPP_
3
4#include <vector>
5
6#include "comm/mpi/datatype.hpp"
7
8namespace VMG
9{
10
11class Grid;
12
13namespace MPI
14{
15
16class DatatypesLocal
17{
18public:
19
20 DatatypesLocal(const Grid& grid, const MPI_Comm& comm);
21 ~DatatypesLocal() {}
22
23 std::vector<Datatype>& Halo() {return halo;}
24 std::vector<Datatype>& NB() {return nb;}
25
26 const std::vector<Datatype>& Halo() const {return halo;}
27 const std::vector<Datatype>& NB() const {return nb;}
28
29private:
30 std::vector<Datatype> halo, nb;
31};
32
33}
34
35}
36
37#endif /* DATATYPES_LOCAL_HPP_ */
Note: See TracBrowser for help on using the repository browser.