Interface Documentation
Version: invalid
Public Member Functions | Public Attributes | List of all members
flecsi::topo::unstructured_impl::entity_info Struct Reference

#include <coloring_types.hh>

Public Member Functions

 entity_info (size_t id_=0, size_t rank_=0, size_t offset_=0, std::set< size_t > shared_={})
 
 entity_info (size_t id_, size_t rank_, size_t offset_, size_t shared_)
 
 entity_info (size_t id_, size_t rank_, size_t offset_, std::vector< size_t > shared_)
 
bool operator< (const entity_info &c) const
 
bool operator== (const entity_info &c) const
 

Public Attributes

size_t id
 
size_t rank
 
size_t offset
 
std::set< size_t > shared
 

Detailed Description

Type for passing coloring information about a single entity.

Constructor & Destructor Documentation

◆ entity_info() [1/2]

flecsi::topo::unstructured_impl::entity_info::entity_info ( size_t  id_ = 0,
size_t  rank_ = 0,
size_t  offset_ = 0,
std::set< size_t >  shared_ = {} 
)
inline

Constructor.

Parameters
id_The entity id. This is generally specified by the mesh definition.
rank_The rank that owns this entity.
offset_The local id or offset of the entity.
shared_The list of ranks that share this entity.

◆ entity_info() [2/2]

flecsi::topo::unstructured_impl::entity_info::entity_info ( size_t  id_,
size_t  rank_,
size_t  offset_,
size_t  shared_ 
)
inline

Constructor.

Parameters
id_The entity id. This is generally specified by the mesh definition.
rank_The rank that owns this entity.
offset_The local id or offset of the entity.
shared_The rank that shares this entity.

Member Function Documentation

◆ operator<()

bool flecsi::topo::unstructured_impl::entity_info::operator< ( const entity_info c) const
inline

Comparison operator for container insertion. This sorts by the entity id, e.g., as set by the id_ parameter to the constructor.

◆ operator==()

bool flecsi::topo::unstructured_impl::entity_info::operator== ( const entity_info c) const
inline

Comparison operator for equivalence.


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