FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
global Struct Reference

Unpartitioned topology whose fields are readable by all colors. More...

Static Public Member Functions

static coloring color (util::id n)
 An mpi_coloring can be initialized from an integer size.
 
- Static Public Member Functions inherited from specialization< global_category, global >
static constexpr auto default_space ()
 The default index space to use when one is optional.
 
static void initialize (slot &s, coloring const &)
 Specialization-specific initialization.
 

Additional Inherited Members

- Public Types inherited from specialization< global_category, global >
using accessor = data::topology_accessor< global, privilege_pack< Priv... > >
 The topology accessor to use as a parameter to receive a slot.
 
using base = base_t< global_category >
 The core topology base type, which can provide specialization utilities.
 
using coloring = typename base::coloring
 The coloring type.
 
using cslot = data::coloring_slot< global >
 The slot type for holding a coloring object.
 
using slot = data::topology_slot< global >
 The slot type for declaring topology instances.
 
- Public Types inherited from specialization_base
template<auto V, class T >
using from = util::key_type< V, T >
 A connectivity specification.
 
template<auto V, class T >
using entity = util::key_type< V, T >
 A special-entities specification.
 
template<auto... V>
using has = util::constants< V... >
 A list of enumerators for which to store data.
 
template<auto... V>
using to = util::constants< V... >
 A list of index spaces to use as output.
 
template<class... TT>
using list = util::types< TT... >
 Container.
 
using index_space = single_space
 The index space type.
 
using index_spaces = has< elements >
 The set of index spaces, wrapped in has.
 
template<class B >
using interface = B
 The topology interface type.
 
- Public Member Functions inherited from specialization_base
 specialization_base ()=delete
 Specializations cannot be constructed.
 
- Static Public Attributes inherited from specialization< global_category, global >
static constexpr PrivilegeCount privilege_count
 The number of privileges to use for an accessor.
 

Detailed Description

Unpartitioned topology whose fields are readable by all colors.

Fields must be written by single tasks. Its coloring type is convertible from an integer size; default-constructing it produces a size of 1.

Member Function Documentation

◆ color()

static coloring color ( util::id  n)
static

An mpi_coloring can be initialized from an integer size.