An integration point source class with an identifier to attach data and a quadrature weight and integration element.
More...
template<class
GlobalPosition, class SourceValues, typename
IdType = std::size_t>
class Dumux::IntegrationPointSource< GlobalPosition, SourceValues, IdType >
An integration point source class with an identifier to attach data and a quadrature weight and integration element.
|
| IntegrationPointSource (GlobalPosition pos, SourceValues values, IdType id, Scalar qpweight, Scalar integrationElement, const std::vector< std::size_t > &elementIndices) |
| Constructor for integration point sources. More...
|
|
| IntegrationPointSource (GlobalPosition pos, IdType id, Scalar qpweight, Scalar integrationElement, const std::vector< std::size_t > &elementIndices) |
| Constructor for integration point sources, when there is no. More...
|
|
Scalar | quadratureWeight () const |
|
Scalar | integrationElement () const |
|
const std::vector< std::size_t > & | elementIndices () const |
|
IntegrationPointSource & | operator= (const SourceValues &values) |
| Convenience = operator overload modifying only the values. More...
|
|
IntegrationPointSource & | operator= (Scalar s) |
| Convenience = operator overload modifying only the values. More...
|
|
IdType | id () const |
| return the sources identifier More...
|
|
PointSource & | operator+= (Scalar s) |
| Convenience += operator overload modifying only the values. More...
|
|
PointSource & | operator-= (Scalar s) |
| Convenience -= operator overload modifying only the values. More...
|
|
PointSource & | operator*= (Scalar s) |
| Convenience *= operator overload modifying only the values. More...
|
|
PointSource & | operator/= (Scalar s) |
| Convenience /= operator overload modifying only the values. More...
|
|
Values | values () const |
| return the source values More...
|
|
const GlobalPosition & | position () const |
| return the source position More...
|
|
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 More...
|
|
void | setEmbeddings (std::size_t embeddings) |
| set the number of embeddings for this point source More...
|
|
std::size_t | embeddings () const |
| get the number of embeddings for this point source More...
|
|