SpECTRE  v2024.09.29
Parallel::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)
 
void pup (PUP::er &p)
 
size_t component_id () const
 
const CkArrayIndex & array_index () const
 

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 file: