chombo-discharge
Loading...
Searching...
No Matches
PolyhedralEB::GraphCopyHeader Struct Reference

What a piece of a polyhedral graph is and where it goes, as it travels between ranks. More...

#include <CD_GraphCopyHeader.H>

Public Member Functions

Box region () const noexcept
 The piece as a box.

Public Attributes

int m_destLevel
 Level of the destination box in the destination hierarchy.
int m_destBox
 Index of the destination box in its level's layout.
int m_sourceLevel
 Geometry level the cells come from.
int m_sourceBox
 Index of the box of the source level's graph layout that holds the cells.
int m_lo [SpaceDim]
 Low corner of the piece, on the source level.
int m_hi [SpaceDim]
 High corner of the piece, on the source level.
int m_numSurfaces
 Number of surfaces the piece carries.
int m_overrideBytes
 Bytes of face overrides the piece carries.

Detailed Description

What a piece of a polyhedral graph is and where it goes, as it travels between ranks.

A piece is a box of cells of one source level, all held by one tile of that level and all owned by it, that one destination box needs. Plain data, copied into and out of an MPI buffer as bytes: the sender writes one ahead of every piece it sends, and the receiver, which works out the same pieces from the same replicated data, reads them back to learn what arrived and where it belongs. The counts say how much of the piece's payload follows.

Member Function Documentation

◆ region()

Box PolyhedralEB::GraphCopyHeader::region ( ) const
inlinenoexcept

The piece as a box.

Returns
The box on the source level.

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