PointSource.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
PointSource
¶ This class provides an easy mechanism for adding a point source (Dirac delta function) to the right-hand side vector in a variational problem. The associated function space must be scalar in order for the inner product with the (scalar) Dirac delta function to be well defined.
-
PointSource
(const FunctionSpace &V, const Point &p, double magnitude = 1.0)¶ Create point source at given point of given magnitude
Create point source at given point of given magnitude
-
void
apply
(GenericVector &b)¶ Apply (add) point source to right-hand side vector
-