SpECTRE
v2024.09.29
|
Information about the neighbor of a host Block in a particular direction. More...
#include <BlockNeighbor.hpp>
Public Member Functions | |
BlockNeighbor (size_t id, OrientationMap< VolumeDim > orientation) | |
Construct with the Id and orientation of the neighbor relative to the host. More... | |
BlockNeighbor (const BlockNeighbor< VolumeDim > &neighbor)=default | |
BlockNeighbor (BlockNeighbor< VolumeDim > &&)=default | |
BlockNeighbor< VolumeDim > & | operator= (const BlockNeighbor< VolumeDim > &rhs)=default |
BlockNeighbor< VolumeDim > & | operator= (BlockNeighbor< VolumeDim > &&)=default |
size_t | id () const |
const OrientationMap< VolumeDim > & | orientation () const |
void | pup (PUP::er &p) |
Information about the neighbor of a host Block in a particular direction.
VolumeDim | the volume dimension. |
BlockNeighbor< VolumeDim >::BlockNeighbor | ( | size_t | id, |
OrientationMap< VolumeDim > | orientation | ||
) |
Construct with the Id and orientation of the neighbor relative to the host.
id | the Id of the neighbor. |
orientation | This OrientationMap takes objects in the logical coordinate frame of the host Block and maps them to the logical coordinate frame of the neighbor Block. |