Interface Documentation
Version: invalid
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
flecsi::topo::entity_base< NUM_DOMAINS > Class Template Reference

entity_base defines a base class that stores the raw info that a topology needs, i.e: id and rank data More...

Inheritance diagram for flecsi::topo::entity_base< NUM_DOMAINS >:
Inheritance graph
[legend]
Collaboration diagram for flecsi::topo::entity_base< NUM_DOMAINS >:
Collaboration graph
[legend]

Public Member Functions

template<size_t DOM = 0>
id_t global_id () const
 
id_t global_id (size_t domain) const
 
template<size_t DOM = 0>
size_t id () const
 
size_t id (size_t domain) const
 
template<size_t DOM = 0>
uint16_t info () const
 
template<size_t DOM = 0>
void set_global_id (const id_t &id)
 Set the id of this entity.
 

Static Public Member Functions

static constexpr size_t get_dim_ (size_t meshDim, size_t dim)
 

Protected Member Functions

template<size_t DOM = 0>
void set_info (uint16_t info)
 

Additional Inherited Members

- Public Types inherited from flecsi::topo::entity_base_
using id_t = util::id_t
 

Detailed Description

template<size_t NUM_DOMAINS>
class flecsi::topo::entity_base< NUM_DOMAINS >

entity_base defines a base class that stores the raw info that a topology needs, i.e: id and rank data

Template Parameters
NThe number of domains.

Member Function Documentation

◆ global_id()

template<size_t NUM_DOMAINS>
template<size_t DOM = 0>
id_t flecsi::topo::entity_base< NUM_DOMAINS >::global_id ( ) const
inline

Return the id of this entity.

Returns
The id of the entity.

The documentation for this class was generated from the following file: