template<class
GlobalPosition, class SourceValues, class I>
class Dumux::IdPointSource< GlobalPosition, SourceValues, I >
- Template Parameters
-
GlobalPosition | the position type |
SourceValues | the a vector type storing the source for all equations |
I | the ID type |
|
| IdPointSource (GlobalPosition pos, SourceValues values, IdType id) |
| Constructor for constant point sources.
|
|
| IdPointSource (GlobalPosition pos, IdType id) |
| Constructor for sol dependent point sources, when there is no.
|
|
IdType | id () const |
| return the sources identifier
|
|
IdPointSource & | operator= (const SourceValues &values) |
| Convenience = operator overload modifying only the values.
|
|
IdPointSource & | operator= (Scalar s) |
| Convenience = operator overload modifying only the values.
|
|
PointSource & | operator+= (Scalar s) |
| Convenience += operator overload modifying only the values.
|
|
PointSource & | operator-= (Scalar s) |
| Convenience -= operator overload modifying only the values.
|
|
PointSource & | operator*= (Scalar s) |
| Convenience *= operator overload modifying only the values.
|
|
PointSource & | operator/= (Scalar s) |
| Convenience /= operator overload modifying only the values.
|
|
Values | values () const |
| return the source values
|
|
const GlobalPosition & | position () const |
| return the source position
|
|
void | update (const Problem &problem, const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const typename FVElementGeometry::SubControlVolume &scv) |
| an update function called before adding the value
|
|
void | setEmbeddings (std::size_t embeddings) |
| set the number of embeddings for this point source
|
|
std::size_t | embeddings () const |
| get the number of embeddings for this point source
|
|