IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
Partitioner.h
Go to the documentation of this file.
1//
2// Class Partitioner
3// Partition a domain into subdomains.
4//
5#ifndef IPPL_PARTITIONER_H
6#define IPPL_PARTITIONER_H
7
8#include "Index/NDIndex.h"
9
10namespace ippl {
11 namespace detail {
12
13 template <unsigned Dim>
15 public:
16 Partitioner() = default;
17 ~Partitioner() = default;
18
19 template <typename view_type>
20 void split(const NDIndex<Dim>& domain, view_type& view,
21 const std::array<bool, Dim>& isParallel, int nSplits) const;
22 };
23 } // namespace detail
24} // namespace ippl
25
27
28#endif
Definition Archive.h:20
void split(const NDIndex< Dim > &domain, view_type &view, const std::array< bool, Dim > &isParallel, int nSplits) const