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. More... | |
void | get_source (const Vector< double > &x, double &source) |
Source function required to make the solution above an exact solution. More... | |
void | zero (const Vector< double > &x, Vector< double > &u) |
Zero function – used to compute norm of the computed solution by computing the norm of the error when compared against this. More... | |
Variables | |
double | Alpha =5.0 |
Parameter for steepness of "step". More... | |
double | TanPhi =0.0 |
Parameter for angle Phi of "step". More... | |
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 mesh_from_inline_triangle.cc.
Referenced by UnstructuredPoissonProblem< ELEMENT >::apply_boundary_conditions(), and UnstructuredPoissonProblem< ELEMENT >::doc_solution().
void TanhSolnForPoisson::get_source | ( | const Vector< double > & | x, |
double & | source | ||
) |
Source function required to make the solution above an exact solution.
Definition at line 61 of file mesh_from_inline_triangle.cc.
Referenced by UnstructuredPoissonProblem< ELEMENT >::complete_problem_setup().
void TanhSolnForPoisson::zero | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Zero function – used to compute norm of the computed solution by computing the norm of the error when compared against this.
Definition at line 72 of file mesh_from_inline_triangle.cc.
Referenced by UnstructuredPoissonProblem< ELEMENT >::doc_solution().
double TanhSolnForPoisson::Alpha =5.0 |
Parameter for steepness of "step".
Definition at line 49 of file mesh_from_inline_triangle.cc.
Referenced by get_exact_u(), and get_source().
double TanhSolnForPoisson::TanPhi =0.0 |
Parameter for angle Phi of "step".
Definition at line 52 of file mesh_from_inline_triangle.cc.
Referenced by get_exact_u(), get_source(), and main().