OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
NDimMesh.h
Go to the documentation of this file.
1 #ifndef __NDIM_MESH__
2 #define __NDIM_MESH__
3 
4 #include <set>
5 
6 //FIXME:
7 //#include "Mesh.hpp"
8 
9 template < class TopoDiscoveryStrategy_t >
10 class NDimMesh : public TopoDiscoveryStrategy_t {
11 
12 public:
13 
14  std::set<size_t> execute(size_t numMasters, size_t dimensions, size_t id,
15  int island_id) {
16  return Mesh::Simplex::getNeighborIDs(island_id);
17  }
18 };
19 
20 #endif
std::set< size_t > execute(size_t numMasters, size_t dimensions, size_t id, int island_id)
Definition: NDimMesh.h:14