Interface Documentation
Version: invalid
global.hh
Go to the documentation of this file.
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 
18 #if !defined(__FLECSI_PRIVATE__)
19 #error Do not include this file directly!
20 #endif
21 
22 #include "flecsi/data/topology.hh"
23 #include "flecsi/topo/core.hh"
24 
25 namespace flecsi {
26 namespace topo {
27 
28 struct global_base {
29  struct coloring {};
30 };
31 
32 template<class P>
34  global_category(const coloring &) : region(data::make_region<P>(1)) {}
35 };
36 template<>
38  using type = global_base;
39 };
40 
48 struct global : specialization<global_category, global> {}; // struct global
49 
50 } // namespace topo
51 } // namespace flecsi
Definition: core.hh:110
Definition: core.hh:40
Definition: policy.hh:85
Definition: global.hh:48
Definition: global.hh:33
Definition: global.hh:28
Definition: global.hh:29
Definition: control.hh:31