The context of a point source of the coupling in one element. More...
#include <dumux/multidomain/embedded/pointsourcecontext.hh>
The context is located in an element and carries the identifier of the point source, with which the coupling manager gives access to the data of the coupling, and the weight of the source: the quadrature weight times the integration element of the integration point. A point shared by several elements is given as one context per element with the number of these elements as embeddings.
Public Types | |
| using | Scalar = typename GlobalPosition::value_type |
| using | GlobalPosition |
Public Member Functions | |
| PointSourceContext ()=default | |
| PointSourceContext (GlobalPosition position, std::size_t id, Scalar weight, std::size_t elementIndex, std::size_t embeddings) | |
| std::size_t | id () const |
| The identifier of the point source. | |
| Scalar | weight () const |
| The quadrature weight times the integration element. | |
| std::size_t | elementIndex () const |
| The index of the element containing the point. | |
| const GlobalPosition & | position () const |
| std::size_t | embeddings () const |
| void | setEmbeddings (std::size_t embeddings) |
|
inherited |
| using Dumux::EmbeddedCoupling::PointSourceContext< GlobalPosition >::Scalar = typename GlobalPosition::value_type |
|
default |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |