SpECTRE  v2024.05.11
Spectral::Swsh::CollocationMetadata< Representation >::CollocationConstIterator Class Reference

Public Member Functions

 CollocationConstIterator (const gsl::not_null< const CollocationMetadata< Representation > * > collocation, const size_t start_index=0)
 create a new iterator. defaults to the start of the supplied object
 
LibsharpCollocationPoint operator* () const
 recovers the data at the collocation point using a LibsharpCollocationPoint, which stores the vector offset of the location of the theta, phi point in libsharp compatible data
 
CollocationConstIteratoroperator++ ()
 advance the iterator by one position (prefix)
 
CollocationConstIterator operator++ (int)
 advance the iterator by one position (postfix)
 
CollocationConstIteratoroperator-- ()
 retreat the iterator by one position (prefix)
 
CollocationConstIterator operator-- (int)
 retreat the iterator by one position (prefix)
 
bool operator== (const CollocationConstIterator &rhs) const
 (In)Equivalence checks both the object and index for the iterator
 
bool operator!= (const CollocationConstIterator &rhs) const
 (In)Equivalence checks both the object and index for the iterator
 

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