![]() |
|
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. More... | |
void | source_function (const Vector< double > &x, double &source) |
Source function required to make the fish shape an exact solution. More... | |
Variables | |
int | Sign =-1 |
Namespace for fish-shaped solution of 1D Poisson equation.
Exact, fish-shaped solution as a 1D vector.
References Sign, sin(), sqrt(), and plotDoE::x.
Referenced by OneDPoissonProblem< ELEMENT >::actions_before_newton_solve(), and OneDPoissonProblem< ELEMENT >::doc_solution().
Source function required to make the fish shape an exact solution.
References Sign, sin(), TestProblem::source(), sqrt(), and plotDoE::x.
Referenced by construct_and_solve_problem(), and main().
int FishSolnOneDPoisson::Sign =-1 |
Sign of the source function (- gives the upper half of the fish, + the lower half)
Referenced by construct_and_solve_problem(), mathsFunc::cos(), DemoPoissonProblem::DemoPoissonProblem(), TwoNodePoissonElement::f(), get_exact_u(), main(), TwoNodePoissonElement::self_test(), TwoNodePoissonElement::sign(), mathsFunc::sin(), source_function(), and TwoNodePoissonElement::TwoNodePoissonElement().