|
Saddle-Point
|
Alternative vector-valued exact-solution class. More...


Public Member Functions | |
| ExactSolution () | |
Construct an ExactSolution with n_equations components. | |
| virtual void | vector_value (const Point< dim > &p, Vector< double > &values) const override |
| Evaluate the alternative exact solution at a point. | |
Alternative vector-valued exact-solution class.
Like Solution, this class derives from dealii::Function<dim> with n_equations components, but it implements a different analytic expression
ExactSolution is currently only used in test variants that are commented out in step-6.cc. It is kept here so that switching between manufactured solutions is a one-line change.
| dim | Spatial dimension (the implementation assumes 2). |
| n_equations | Number of vector components (set to 2). |
|
inline |
Construct an ExactSolution with n_equations components.
|
overridevirtual |
Evaluate the alternative exact solution at a point.
Writes the vector value at p into values.
| [in] | p | Point at which the function is evaluated. |
| [out] | values | Output vector of length n_equations. |