|
Saddle-Point
|
Declares and inline-defines the templated RHSFunction class which represents the right-hand side of the saddle-point Laplace problem, with a few hard-coded analytic test cases. More...
#include <deal.II/base/point.h>#include <deal.II/base/function.h>#include <deal.II/base/geometric_utilities.h>#include <deal.II/base/tensor.h>#include <cmath>

Go to the source code of this file.
Classes | |
| class | RHSFunction< dim > |
| Analytic right-hand-side function for the saddle-point Laplace problem. More... | |
Declares and inline-defines the templated RHSFunction class which represents the right-hand side of the saddle-point Laplace problem, with a few hard-coded analytic test cases.
RHSFunction is derived from dealii::Function<dim> so it can be used directly with deal.II routines that expect a Function-like object (for example VectorTools::interpolate_boundary_values). The class carries an internal selector RHSFunction::FunctionType to switch between the different analytic right-hand sides that were used while developing the program.