Go to the source code of this file.
Classes | |
class | PoissonProblem< ELEMENT > |
2D Poisson problem on rectangular domain, discretised with 2D QPoisson elements. The specific type of element is specified via the template parameter. More... | |
Namespaces | |
TanhSolnForPoisson | |
Namespace for exact solution for Poisson equation with "sharp step". | |
Functions | |
void | TanhSolnForPoisson::get_exact_u (const Vector< double > &x, Vector< double > &u) |
Exact solution as a Vector. More... | |
void | TanhSolnForPoisson::source_function (const Vector< double > &x, double &source) |
Source function required to make the solution above an exact solution. More... | |
int | main () |
Driver code for 2D Poisson problem. More... | |
Variables | |
double | TanhSolnForPoisson::Alpha =1.0 |
Parameter for steepness of "step". More... | |
double | TanhSolnForPoisson::TanPhi =0.0 |
Parameter for angle Phi of "step". More... | |
int main | ( | ) |
Driver code for 2D Poisson problem.
Definition at line 271 of file two_d_poisson.cc.
References TanhSolnForPoisson::Alpha, PoissonProblem< ELEMENT >::doc_solution(), TanhSolnForPoisson::source_function(), and TanhSolnForPoisson::TanPhi.