SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
StripeIterator Class Reference

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.
StripeIteratoroperator++ ()
 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.

Detailed Description

Iterates over the 1-dimensional stripes with info on how to iterate over the current stripe.


The documentation for this class was generated from the following file:
  • src/DataStructures/StripeIterator.hpp