SpECTRE
v2025.03.17
|
Iterates over the 1-dimensional stripes with info on how to iterate over the current stripe. More...
#include <StripeIterator.hpp>
Public Member Functions | |
template<size_t Dim> | |
StripeIterator (const Index< Dim > &extents, size_t stripe_dim) | |
Construct from the grid points in each direction and which dimension the stripes are in. | |
operator bool () const | |
Returns true if the iterator is valid. | |
StripeIterator & | operator++ () |
Increment to the next stripe. | |
size_t | offset () const |
Offset into DataVector for first element of stripe. | |
size_t | stride () const |
Stride of elements in DataVector for the stripe. | |
Iterates over the 1-dimensional stripes with info on how to iterate over the current stripe.