FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
coloring_slot< Topo > Struct Template Reference

A mpi_coloring object, constructed on request. More...

Public Member Functions

template<typename... ARGS>
color_type & allocate (ARGS &&... args)
 Create the mpi_coloring.
 
void deallocate ()
 Destroy the coloring object.
 
color_type & get ()
 Get the coloring object.
 
const color_type & get () const
 Get the coloring object.
 

Detailed Description

template<class Topo>
struct flecsi::data::coloring_slot< Topo >

A mpi_coloring object, constructed on request.

Note
Usually accessed as Topo::cslot.
Deprecated:
Use mpi_coloring directly.

Member Function Documentation

◆ allocate()

template<class Topo >
template<typename... ARGS>
color_type & allocate ( ARGS &&...  args)

Create the mpi_coloring.

Returns
the created Topo::coloring object

◆ deallocate()

template<class Topo >
void deallocate ( )

Destroy the coloring object.

◆ get() [1/2]

template<class Topo >
color_type & get ( )

Get the coloring object.

◆ get() [2/2]

template<class Topo >
const color_type & get ( ) const

Get the coloring object.