Interface Documentation
Version: invalid
coloring.hh
Go to the documentation of this file.
1 /*
2  @@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
3  /@@///// /@@ @@////@@ @@////// /@@
4  /@@ /@@ @@@@@ @@ // /@@ /@@
5  /@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
6  /@@//// /@@/@@@@@@@/@@ ////////@@/@@
7  /@@ /@@/@@//// //@@ @@ /@@/@@
8  /@@ @@@//@@@@@@ //@@@@@@ @@@@@@@@ /@@
9  // /// ////// ////// //////// //
10  Copyright (c) 2016, Los Alamos National Security, LLC
11  All rights reserved.
12  */
13 #pragma once
14 
17 #if !defined(__FLECSI_PRIVATE__)
18 #error Do not include this file directly!
19 #endif
20 
21 #include <map>
22 #include <vector>
23 
24 namespace flecsi {
25 namespace topo {
26 
27 //----------------------------------------------------------------------------//
28 // NTree topology coloring.
29 //----------------------------------------------------------------------------//
30 
31 struct ntree_base {
32 
33  struct coloring {
34 
35  struct local_coloring {
36  size_t local_entities_;
37  }; // local_coloring
38 
40  std::vector<size_t> entities_distribution_;
41  }; // coloring_metadata
42 
43  local_coloring local_coloring_;
44  coloring_metadata coloring_metadata_;
45 
46  }; // struct coloring
47 }; // struct ntree_base
48 
49 // using coloring_t = std::map<size_t, index_coloring_t>;
50 
51 } // namespace topo
52 } // namespace flecsi
Definition: coloring.hh:33
Definition: coloring.hh:31
Definition: control.hh:31