SpECTRE
v2024.12.16
|
A spectral element with knowledge of its neighbors. More...
#include <Element.hpp>
Public Types | |
using | Neighbors_t = DirectionMap< VolumeDim, Neighbors< VolumeDim > > |
Public Member Functions | |
Element (ElementId< VolumeDim > id, Neighbors_t neighbors) | |
Constructor. More... | |
Element ()=default | |
Default needed for serialization. | |
Element (const Element< VolumeDim > &)=default | |
Element (Element< VolumeDim > &&)=default | |
Element< VolumeDim > & | operator= (const Element< VolumeDim > &)=default |
Element< VolumeDim > & | operator= (Element< VolumeDim > &&)=default |
const std::unordered_set< Direction< VolumeDim > > & | external_boundaries () const |
The directions of the faces of the Element that are external boundaries. | |
const std::unordered_set< Direction< VolumeDim > > & | internal_boundaries () const |
The directions of the faces of the Element that are internal boundaries. | |
const ElementId< VolumeDim > & | id () const |
A unique ID for the Element. | |
const Neighbors_t & | neighbors () const |
Information about the neighboring Elements. | |
size_t | number_of_neighbors () const |
The number of neighbors this element has. | |
void | pup (PUP::er &p) |
A spectral element with knowledge of its neighbors.
VolumeDim | the volume dimension. |
Element< VolumeDim >::Element | ( | ElementId< VolumeDim > | id, |
Neighbors_t | neighbors | ||
) |