IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
Partitioner.h
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
26#include "Partition/Partitioner.hpp"
27
28#endif
Definition NDIndex.h:21
Definition Partitioner.h:14
Definition Archive.h:20