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_exact_u (const Vector< double > &x, double &u) |
Exact solution as a scalar. More... | |
void | get_source (const Vector< double > &x, double &source) |
Source function to make it an exact solution. More... | |
Variables | |
double | Alpha |
Parameter for steepness of step. More... | |
double | Beta |
Parameter for angle of step. More... | |
Namespace for exact solution for Poisson equation with sharp step.
void TanhSolnForPoisson::get_exact_u | ( | const Vector< double > & | x, |
double & | u | ||
) |
Exact solution as a scalar.
Definition at line 64 of file mesh_from_triangle_poisson.cc.
void TanhSolnForPoisson::get_exact_u | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Exact solution as a Vector.
Definition at line 57 of file mesh_from_triangle_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 | ||
) |
Source function to make it an exact solution.
Definition at line 71 of file mesh_from_triangle_poisson.cc.
Referenced by main().
double TanhSolnForPoisson::Alpha |
Parameter for steepness of step.
Definition at line 50 of file mesh_from_triangle_poisson.cc.
Referenced by get_exact_u(), get_source(), and PoissonProblem< ELEMENT >::PoissonProblem().
double TanhSolnForPoisson::Beta |
Parameter for angle of step.
Definition at line 53 of file mesh_from_triangle_poisson.cc.
Referenced by get_exact_u(), get_source(), and PoissonProblem< ELEMENT >::PoissonProblem().