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
10
namespace
ippl
{
11
namespace
detail {
12
13
template
<
unsigned
Dim>
14
class
Partitioner
{
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
NDIndex.h
ippl::NDIndex
Definition
NDIndex.h:21
ippl::detail::Partitioner
Definition
Partitioner.h:14
ippl
Definition
Archive.h:20
ippl-src
src
Partition
Partitioner.h
Generated by
1.9.8