Interface Documentation
Version: invalid
flecsi
data
mpi
policy.hh
1
/*
2
@@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
3
/@@///// /@@ @@////@@ @@////// /@@
4
/@@ /@@ @@@@@ @@ // /@@ /@@
5
/@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
6
/@@//// /@@/@@@@@@@/@@ ////////@@/@@
7
/@@ /@@/@@//// //@@ @@ /@@/@@
8
/@@ @@@//@@@@@@ //@@@@@@ @@@@@@@@ /@@
9
// /// ////// ////// //////// //
10
11
Copyright (c) 2016, Triad National Security, LLC
12
All rights reserved.
13
*/
14
#pragma once
15
16
#include <cstddef>
17
18
#include "
flecsi/data/field_info.hh
"
19
#include "flecsi/topo/core.hh"
// single_space
20
21
namespace
flecsi
{
22
namespace
data {
23
24
struct
region
{
25
region
(std::size_t,
const
fields &) {}
26
};
27
28
struct
partition
{
29
template
<
class
F>
30
partition
(
const
region
&,
31
std::size_t,
32
F,
33
disjointness = {},
34
completeness = {}) {}
35
std::size_t
colors
()
const
{
36
return
0;
37
}
38
template
<topo::single_space>
39
const
partition
& get_partition()
const
{
40
return
*
this
;
41
}
42
};
43
44
}
// namespace data
45
}
// namespace flecsi
flecsi::data::leg::partition
Definition:
policy.hh:105
flecsi::data::leg::region
Definition:
policy.hh:85
field_info.hh
flecsi::colors
size_t colors()
Definition:
execution.hh:336
flecsi
Definition:
control.hh:31
Generated by
1.8.13