ug4
|
Manager class for point and line sources and sinks. More...
#include <fv1_sss.h>
Classes | |
class | line_iterator |
class of line source and sink iterator for a given scv More... | |
class | point_iterator |
class of point source and sink iterator for a given scv More... | |
Public Types | |
typedef FVLineSourceOrSink< dim, TLineData > | line_sss_type |
typedef FVPointSourceOrSink< dim, TPointData > | point_sss_type |
Public Member Functions | |
void | add_line (SmartPtr< line_sss_type > line_sss) |
add a line source or sink More... | |
void | add_point (SmartPtr< point_sss_type > point_sss) |
add a point source or sink More... | |
FVSingularSourcesAndSinks () | |
class constructor More... | |
void | init_all_line_sss () |
calls the init-functions of all line sinks (if there are any in TLineData) More... | |
void | init_all_point_sss () |
calls the init-functions of all point sinks (if there are any in TPointData) More... | |
line_sss_type * | line (size_t i) |
return a line sink with a given index More... | |
size_t | num_lines () |
returns the number of the line sources and sinks More... | |
size_t | num_points () |
returns the number of the point sources and sinks More... | |
point_sss_type * | point (size_t i) |
return a point sink with a given index More... | |
Private Attributes | |
std::vector< SmartPtr< line_sss_type > > | ListL |
std::vector< SmartPtr< point_sss_type > > | ListP |
Manager class for point and line sources and sinks.
typedef FVLineSourceOrSink<dim, TLineData> ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_sss_type |
typedef FVPointSourceOrSink<dim, TPointData> ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_sss_type |
|
inline |
class constructor
|
inline |
add a line source or sink
line_sss | the object to add |
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListL.
|
inline |
add a point source or sink
point_sss | the object to add |
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListP.
|
inline |
calls the init-functions of all line sinks (if there are any in TLineData)
References boost::get(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListL.
|
inline |
calls the init-functions of all point sinks (if there are any in TPointData)
References boost::get(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListP.
|
inline |
return a line sink with a given index
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListL.
|
inline |
returns the number of the line sources and sinks
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListL.
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::is_over().
|
inline |
returns the number of the point sources and sinks
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListP.
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::is_over().
|
inline |
return a point sink with a given index
References ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::ListP.
|
private |
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::add_line(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::init_all_line_sss(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::num_lines(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::line_iterator< TElem, TAAPos, TFVGeom >::operator*().
|
private |
Referenced by ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::add_point(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::init_all_point_sss(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::num_points(), ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point_iterator< TElem, TAAPos, TFVGeom >::operator*(), and ug::FVSingularSourcesAndSinks< dim, TPointData, TLineData >::point().