ug4
ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom > Class Template Reference

class of point source and sink iterator for a given scv More...

#include <fv1_sss.h>

Public Member Functions

bool is_over ()
 checks whether we are at the end More...
 
point_sss_typeoperator* ()
 access operator More...
 
this_typeoperator++ ()
 moves to the next valid source or sink More...
 
 point_iterator (master_type *sss, TElem *elem, Grid &grid, TAAPos &aaPos, const TFVGeom &geo, size_t co)
 class constructor (sets the iterator to the beginnging of the list) More...
 
 point_iterator (this_type &op)
 copy constructor More...
 
this_typerewind ()
 moves the iterator to the beginning of the list More...
 

Private Types

typedef FVSingularSourcesAndSinks< dim, TPointData, TLineData > master_type
 
typedef point_iterator< TElem, TAAPos, TFVGeom > this_type
 

Private Member Functions

void next_sss (size_t index)
 

Private Attributes

TAAPos & m_aaPos
 
size_t m_co
 
TElem * m_elem
 
AABox< MathVector< dim > > m_elem_bbox
 
const TFVGeom & m_geo
 
Gridm_grid
 
size_t m_index
 index of the current source/sink More...
 
master_typem_sss
 

Detailed Description

template<int dim, typename TPointData, typename TLineData = TPointData>
template<typename TElem, typename TAAPos, typename TFVGeom>
class ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >

class of point source and sink iterator for a given scv

Member Typedef Documentation

◆ master_type

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
typedef FVSingularSourcesAndSinks<dim, TPointData, TLineData> ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::master_type
private

◆ this_type

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
typedef point_iterator<TElem, TAAPos, TFVGeom> ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::this_type
private

Constructor & Destructor Documentation

◆ point_iterator() [1/2]

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::point_iterator ( master_type sss,
TElem *  elem,
Grid grid,
TAAPos &  aaPos,
const TFVGeom &  geo,
size_t  co 
)
inline

◆ point_iterator() [2/2]

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::point_iterator ( this_type op)
inline

copy constructor

Member Function Documentation

◆ is_over()

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
bool ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::is_over ( )
inline

◆ next_sss()

template<int dim, typename TPointData , typename TLineData >
template<typename TElem , typename TAAPos , typename TFVGeom >
void ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::next_sss ( size_t  index)
private

◆ operator*()

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
point_sss_type* ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::operator* ( )
inline

◆ operator++()

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
this_type& ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::operator++ ( )
inline

◆ rewind()

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
this_type& ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::rewind ( )
inline

Member Data Documentation

◆ m_aaPos

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
TAAPos& ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_aaPos
private

◆ m_co

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
size_t ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_co
private

◆ m_elem

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
TElem* ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_elem
private

◆ m_elem_bbox

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
AABox<MathVector<dim> > ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_elem_bbox
private

◆ m_geo

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
const TFVGeom& ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_geo
private

◆ m_grid

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
Grid& ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_grid
private

◆ m_index

◆ m_sss

template<int dim, typename TPointData , typename TLineData = TPointData>
template<typename TElem , typename TAAPos , typename TFVGeom >
master_type* ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_sss
private

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