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 | source_function (const Vector< double > &x, double &source) |
Source function required to make the solution above an exact solution. More... | |
void | prescribed_flux_on_fixed_x_boundary (const Vector< double > &x, double &flux) |
Flux required by the exact solution on a boundary on which x is fixed. More... | |
Variables | |
double | Alpha =1.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 104 of file two_d_poisson_flux_bc_adapt.cc.
Referenced by RefineableTwoMeshFluxPoissonProblem< ELEMENT >::actions_before_newton_solve(), and RefineableTwoMeshFluxPoissonProblem< ELEMENT >::doc_solution().
void TanhSolnForPoisson::prescribed_flux_on_fixed_x_boundary | ( | const Vector< double > & | x, |
double & | flux | ||
) |
Flux required by the exact solution on a boundary on which x is fixed.
Definition at line 119 of file two_d_poisson_flux_bc_adapt.cc.
Referenced by RefineableTwoMeshFluxPoissonProblem< ELEMENT >::set_prescribed_flux_pt().
void TanhSolnForPoisson::source_function | ( | const Vector< double > & | x, |
double & | source | ||
) |
Source function required to make the solution above an exact solution.
Definition at line 110 of file two_d_poisson_flux_bc_adapt.cc.
Referenced by main().
double TanhSolnForPoisson::Alpha =1.0 |
Parameter for steepness of "step".
Definition at line 98 of file two_d_poisson_flux_bc_adapt.cc.
Referenced by get_exact_u(), main(), prescribed_flux_on_fixed_x_boundary(), and source_function().
double TanhSolnForPoisson::TanPhi =0.0 |
Parameter for angle Phi of "step".
Definition at line 101 of file two_d_poisson_flux_bc_adapt.cc.
Referenced by get_exact_u(), main(), prescribed_flux_on_fixed_x_boundary(), and source_function().