SpECTRE  v2021.11.01
ActionTesting::LocalCoreId Struct Reference

Wraps a size_t representing the local core number. This is so the user can write things like emplace_array_component(NodeId{3},LocalCoreId{2},...) instead of emplace_array_component(3,2,...). More...

#include <MockDistributedObject.hpp>

Public Attributes

size_t value
 

Detailed Description

Wraps a size_t representing the local core number. This is so the user can write things like emplace_array_component(NodeId{3},LocalCoreId{2},...) instead of emplace_array_component(3,2,...).

The local core number is unique for each core on the same node, but cores on different nodes can have the same local core number. For example, if there are 3 nodes with 2 cores each, then the cores on the first node have local core numbers 0 and 1, the cores on the second node also have local core numbers 0 and 1, and so on.


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