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

A topology instance. More...

Public Member Functions

Color colors () const
 Return the number of colors over which the topology is partitioned.
 
 topology (scheduler &, const typename Topo::coloring &)
 A topology can be constructed from its coloring type.
 
 topology (topology &&)=delete
 Immovable.
 

Detailed Description

template<class Topo>
struct flecsi::topology< Topo >

A topology instance.

Pass to a task expecting a topology_accessor.

Template Parameters
Topospecialization
Note
A specialization provides aliases for both these types.
Warning
No topologies may exist outside of start or control.

Appears directly in flecsi.

Constructor & Destructor Documentation

◆ topology() [1/2]

template<class Topo >
topology ( scheduler & ,
const typename Topo::coloring &  )

A topology can be constructed from its coloring type.

◆ topology() [2/2]

template<class Topo >
topology ( topology< Topo > && )
delete

Immovable.

Member Function Documentation

◆ colors()

template<class Topo >
Color colors ( ) const

Return the number of colors over which the topology is partitioned.