ug4
|
class of line 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... | |
line_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... | |
line_iterator (this_type &op) | |
copy constructor More... | |
line_sss_type * | operator* () |
access operator More... | |
this_type & | operator++ () |
moves to the next valid source or sink More... | |
this_type & | rewind () |
moves the iterator to the beginning of the list More... | |
const MathVector< dim > & | seg_end () |
the 2nd of the intersection points with the bnd of the scv More... | |
const MathVector< dim > & | seg_start () |
the 1st of the intersection points with the bnd of the scv More... | |
Private Types | |
typedef FVSingularSourcesAndSinks< dim, TPointData, TLineData > | master_type |
typedef line_iterator< TElem, TAAPos, TFVGeom > | this_type |
Private Member Functions | |
void | next_sss (size_t index, MathVector< dim > &ls, MathVector< dim > &le) |
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... | |
MathVector< dim > | m_le |
the 2nd of the intersection points with the bnd of the scv More... | |
MathVector< dim > | m_ls |
the 1st of the intersection points with the bnd of the scv More... | |
master_type * | m_sss |
class of line 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 >::line_iterator< TElem, TAAPos, TFVGeom >::m_aaPos, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_elem, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_elem_bbox, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_le, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_ls, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::next_sss().
|
inline |
copy constructor
|
inline |
checks whether we are at the end
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_index, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_sss, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::num_lines().
|
private |
Finds the proper point source or sink starting with a given index
index | index to start the search with |
ls | the 1st of the intersection points with the bnd of the scv |
le | the 2nd of the intersection points with the bnd of the scv |
References ug::FVLineSourceOrSink< dim, TData >::corresponds_to(), ug::FVLineSourceOrSink< dim, TData >::from_position(), and ug::FVLineSourceOrSink< dim, TData >::to_position().
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::line_iterator(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::operator++().
|
inline |
access operator
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListL, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_index, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_sss.
|
inline |
moves to the next valid source or sink
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_index, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_le, ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_ls, and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::next_sss().
|
inline |
moves the iterator to the beginning of the list
|
inline |
the 2nd of the intersection points with the bnd of the scv
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_le.
|
inline |
the 1st of the intersection points with the bnd of the scv
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::m_ls.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
index of the current source/sink
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::is_over(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::operator*(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::operator++(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::rewind().
|
private |
the 2nd of the intersection points with the bnd of the scv
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::line_iterator(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::operator++(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::seg_end().
|
private |
the 1st of the intersection points with the bnd of the scv
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::line_iterator(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::operator++(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::seg_start().
|
private |