quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
quadgrid_t< distributed_vector >::neighbor_iterator Class Reference

#include <quadgrid_cpp.h>

Inheritance diagram for quadgrid_t< distributed_vector >::neighbor_iterator:
quadgrid_t< distributed_vector >::cell_iterator

Public Member Functions

void operator++ ()
 
 neighbor_iterator (cell_t *_data=nullptr, int _face_idx=-1)
 
int get_face_idx ()
 
cell_toperator* ()
 
const cell_toperator* () const
 
cell_toperator-> ()
 
const cell_toperator-> () const
 
bool operator== (const cell_iterator &other)
 
bool operator!= (const cell_iterator &other)
 

Private Attributes

idx_t face_idx
 
cell_tdata
 Face index in 0...3 (-1 if not defined). More...
 

Constructor & Destructor Documentation

◆ neighbor_iterator()

template<class distributed_vector >
quadgrid_t< distributed_vector >::neighbor_iterator::neighbor_iterator ( cell_t _data = nullptr,
int  _face_idx = -1 
)
inline

Member Function Documentation

◆ get_face_idx()

template<class distributed_vector >
int quadgrid_t< distributed_vector >::neighbor_iterator::get_face_idx ( )
inline

◆ operator!=()

template<class distributed_vector >
bool quadgrid_t< distributed_vector >::cell_iterator::operator!= ( const cell_iterator other)
inlineinherited

◆ operator*() [1/2]

template<class distributed_vector >
cell_t & quadgrid_t< distributed_vector >::cell_iterator::operator* ( )
inlineinherited

◆ operator*() [2/2]

template<class distributed_vector >
const cell_t & quadgrid_t< distributed_vector >::cell_iterator::operator* ( ) const
inlineinherited

◆ operator++()

template<class T >
void quadgrid_t< T >::neighbor_iterator::operator++

◆ operator->() [1/2]

template<class distributed_vector >
cell_t * quadgrid_t< distributed_vector >::cell_iterator::operator-> ( )
inlineinherited

◆ operator->() [2/2]

template<class distributed_vector >
const cell_t * quadgrid_t< distributed_vector >::cell_iterator::operator-> ( ) const
inlineinherited

◆ operator==()

template<class distributed_vector >
bool quadgrid_t< distributed_vector >::cell_iterator::operator== ( const cell_iterator other)
inlineinherited

Member Data Documentation

◆ data

template<class distributed_vector >
cell_t* quadgrid_t< distributed_vector >::neighbor_iterator::data
private

Face index in 0...3 (-1 if not defined).

◆ face_idx

template<class distributed_vector >
idx_t quadgrid_t< distributed_vector >::neighbor_iterator::face_idx
private

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