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
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
Partitioner.hpp
ippl
Definition
Archive.h:20
ippl::detail
Definition
Archive.h:21
ippl::NDIndex
Definition
NDIndex.h:21
ippl::detail::Partitioner::Partitioner
Partitioner()=default
ippl::detail::Partitioner::split
void split(const NDIndex< Dim > &domain, view_type &view, const std::array< bool, Dim > &isParallel, int nSplits) const
Definition
Partitioner.hpp:15
ippl::detail::Partitioner::~Partitioner
~Partitioner()=default
ippl::detail::view_type