FleCSI User API Version: 2.3.1
 
Loading...
Searching...
No Matches
coloring_slot< class > 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>
struct flecsi::data::coloring_slot< class >

A mpi_coloring object, constructed on request.

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

Member Function Documentation

◆ allocate()

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

Create the mpi_coloring.

Returns
the created Topo::coloring object

◆ deallocate()

template<class >
void deallocate ( )

Destroy the coloring object.

◆ get() [1/2]

template<class >
color_type & get ( )

Get the coloring object.

◆ get() [2/2]

template<class >
const color_type & get ( ) const

Get the coloring object.