|
SpECTRE
v2026.04.01
|
Iterate over grid points in a region that extends partially into the volume. More...
#include <OverlapHelpers.hpp>
Public Member Functions | |
| template<size_t Dim> | |
| OverlapIterator (const Index< Dim > &volume_extents, size_t overlap_extent, const Direction< Dim > &direction) | |
| operator bool () const | |
| OverlapIterator & | operator++ () |
| size_t | volume_offset () const |
| Offset into a DataVector that holds full volume data. | |
| size_t | overlap_offset () const |
| Offset into a DataVector that holds data only on the overlap region. | |
| void | reset () |
Iterate over grid points in a region that extends partially into the volume.
Here's an example how to use this iterator: