Saddle-Point
Loading...
Searching...
No Matches
rhs_function.h File Reference

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>
Include dependency graph for rhs_function.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RHSFunction< dim >
 Analytic right-hand-side function for the saddle-point Laplace problem. More...
 

Detailed Description

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.