ug4
|
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_type * | operator* () |
access operator More... | |
this_type & | operator++ () |
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_type & | rewind () |
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 |
Grid & | m_grid |
size_t | m_index |
index of the current source/sink More... | |
master_type * | m_sss |
class of point source and sink iterator for a given scv
|
private |
|
private |
|
inline |
class constructor (sets the iterator to the beginnging of the list)
elem | the manager the element to find the sources and sinks for |
grid | the grid |
aaPos | position attachment for the grid |
geo | FV geometry for the element |
co | corner to check the sources and sinks for |
References ug::CalculateBoundingBox(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_aaPos, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_elem, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_elem_bbox, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::next_sss().
|
inline |
copy constructor
|
inline |
checks whether we are at the end
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_index, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_sss, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::num_points().
|
private |
Finds the proper point source or sink starting with a given index
index | index to start the search with |
References ug::FVPointSourceOrSink< dim, TData >::corresponds_to(), and ug::FVPointSourceOrSink< dim, TData >::position().
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::operator++(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::point_iterator().
|
inline |
access operator
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListP, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_index, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_sss.
|
inline |
moves to the next valid source or sink
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::m_index, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::next_sss().
|
inline |
moves the iterator to the beginning of the list
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
index of the current source/sink
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::is_over(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::operator*(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::operator++(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::rewind().
|
private |