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 66 of file mesh_from_geompack_poisson.cc.
void TanhSolnForPoisson::get_exact_u | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Exact solution as a Vector.
Definition at line 59 of file mesh_from_geompack_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 73 of file mesh_from_geompack_poisson.cc.
Referenced by main().
double TanhSolnForPoisson::Alpha |
Parameter for steepness of step.
Definition at line 52 of file mesh_from_geompack_poisson.cc.
Referenced by get_exact_u(), get_source(), and PoissonProblem< ELEMENT >::PoissonProblem().
double TanhSolnForPoisson::Beta |
Parameter for angle of step.
Definition at line 55 of file mesh_from_geompack_poisson.cc.
Referenced by get_exact_u(), get_source(), and PoissonProblem< ELEMENT >::PoissonProblem().