Public Member Functions | List of all members
observers::ArrayComponentId Class Reference

An ID type that identifies both the parallel component and the index in the parallel component. More...

#include <ArrayComponentId.hpp>

Public Member Functions

template<typename ParallelComponent >
 ArrayComponentId (const ParallelComponent *, const CkArrayIndex &index) noexcept
 
void pup (PUP::er &p) noexcept
 
size_t component_id () const noexcept
 
const CkArrayIndex & array_index () const noexcept
 

Detailed Description

An ID type that identifies both the parallel component and the index in the parallel component.

A specialization of std::hash is provided to allow using ArrayComponentId as a key in associative containers.


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