Namespace for exact solution for Poisson equation with "sharp step". More...
Functions | |
| void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
| Exact solution as a Vector. | |
| void | source_function (const Vector< double > &x, double &source) |
| Source function required to make the solution above an exact solution. | |
| void | get_source (const Vector< double > &x, double &source) |
| Source function required to make the solution above an exact solution. | |
Variables | |
| double | Alpha =1.0 |
| Parameter for steepness of "step". | |
| double | TanPhi =0.0 |
| Parameter for angle Phi of "step". | |
Namespace for exact solution for Poisson equation with "sharp step".
| void TanhSolnForPoisson::get_exact_u | ( | const Vector< double > & | x, |
| Vector< double > & | u | ||
| ) |
Exact solution as a Vector.
Definition at line 55 of file two_d_poisson.cc.
Referenced by PoissonProblem< ELEMENT >::actions_before_newton_solve(), and PoissonProblem< ELEMENT >::doc_solution().
| void TanhSolnForPoisson::get_source | ( | const Vector< double > & | x, |
| double & | source | ||
| ) |
| void TanhSolnForPoisson::source_function | ( | const Vector< double > & | x, |
| double & | source | ||
| ) |
Source function required to make the solution above an exact solution.
Definition at line 61 of file two_d_poisson.cc.
Referenced by main().
| double TanhSolnForPoisson::Alpha =1.0 |
Parameter for steepness of "step".
Definition at line 49 of file two_d_poisson.cc.
Referenced by get_exact_u(), get_source(), main(), run(), and source_function().
| double TanhSolnForPoisson::TanPhi =0.0 |
Parameter for angle Phi of "step".
Definition at line 52 of file two_d_poisson.cc.
Referenced by get_exact_u(), get_source(), main(), run(), and source_function().