Namespace for fish-shaped solution of 1D Poisson equation. More...
Functions | |
| void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
| Exact, fish-shaped solution as a 1D vector. | |
| void | source_function (const Vector< double > &x, double &source) |
| Source function required to make the fish shape an exact solution. | |
Variables | |
| int | Sign =-1 |
| Sign of the source function (- gives the upper half of the fish, + the lower half) | |
Namespace for fish-shaped solution of 1D Poisson equation.
| void FishSolnOneDPoisson::get_exact_u | ( | const Vector< double > & | x, |
| Vector< double > & | u | ||
| ) |
Exact, fish-shaped solution as a 1D vector.
Definition at line 54 of file one_d_poisson.cc.
References Sign.
Referenced by OneDPoissonProblem< ELEMENT >::actions_before_newton_solve(), and OneDPoissonProblem< ELEMENT >::doc_solution().
| void FishSolnOneDPoisson::source_function | ( | const Vector< double > & | x, |
| double & | source | ||
| ) |
Source function required to make the fish shape an exact solution.
Definition at line 61 of file one_d_poisson.cc.
References Sign.
Referenced by main().
| int FishSolnOneDPoisson::Sign =-1 |
Sign of the source function (- gives the upper half of the fish, + the lower half)
Definition at line 50 of file one_d_poisson.cc.
Referenced by get_exact_u(), main(), and source_function().