|
| template<typename TElem , typename TAAPos , typename TFVGeom > |
| bool | corresponds_to (TElem *elem, Grid &grid, TAAPos &aaPos, const TFVGeom &geo, size_t co) |
| | test whether a source/sink point corresponds to a given corner of the element
|
| |
| | FVPointSourceOrSink (const MathVector< dim > &_point) |
| | class constructor (with the default constructor for data)
|
| |
| | FVPointSourceOrSink (const MathVector< dim > &_point, const TData &_data) |
| | class constructor (with the copy constructor for data)
|
| |
| | FVPointSourceOrSink (const std::vector< number > &_point) |
| | class constructor (with the default constructor for data)
|
| |
| const MathVector< dim > & | position () |
| | returns the point of the source/sink
|
| |
template<int dim, typename TData>
class ug::FVPointSourceOrSink< dim, TData >
Base class for the point sources and sinks.
template<int dim, typename TData >
template<typename TElem , typename TAAPos , typename TFVGeom >
| bool ug::FVPointSourceOrSink< dim, TData >::corresponds_to |
( |
TElem * |
elem, |
|
|
Grid & |
grid, |
|
|
TAAPos & |
aaPos, |
|
|
const TFVGeom & |
geo, |
|
|
size_t |
co |
|
) |
| |
test whether a source/sink point corresponds to a given corner of the element
Test whether a source/sink point corresponds to a given corner of the element. Note that TElem must specify the dimensionality of the element. Thus, GridObject is not a proper type for TElem. It should be at least Edge, Face, Volume or derived classes.
- Parameters
-
| elem | the element |
| grid | the grid |
| aaPos | position of the vertices |
| geo | FV geometry (initialized for 'elem') |
| co | corner to get the contribution for |
References ug::ContainsPoint(), ug::VecDot(), and ug::VecSubtract().