2D Poisson problem on rectangular domain, discretised with 2D QPoisson elements. The specific type of element is specified via the template parameter. More...
Public Member Functions | |
PoissonProblem (PoissonEquations< 2 >::PoissonSourceFctPt source_fct_pt) | |
Constructor: Pass pointer to source function. More... | |
~PoissonProblem () | |
Destructor (empty) More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve: Reset boundary conditions to the values from the exact solution. More... | |
void | actions_after_newton_solve () |
Update the problem after solve (empty) More... | |
void | doc_solution (DocInfo &doc_info) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to. More... | |
PoissonProblem (PoissonEquations< 2 >::PoissonSourceFctPt source_fct_pt) | |
Constructor: Pass pointer to source function. More... | |
~PoissonProblem () | |
Destructor (empty) More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve: Reset boundary conditions to the values from the exact solution. More... | |
void | actions_after_newton_solve () |
Update the problem after solve (empty) More... | |
void | doc_solution (DocInfo &doc_info) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to. More... | |
PoissonProblem (PoissonEquations< 2 >::PoissonSourceFctPt source_fct_pt, const unsigned &nel_1d, const bool &mess_up_order) | |
Constructor: Pass pointer to source function and flag to indicate if order of elements should be messed up. nel_1d is the number of elements along the 1d mesh edges – total number of elements is nel_1d x nel_1d. More... | |
~PoissonProblem () | |
Destructor (empty) More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve: Reset boundary conditions to the values from the exact solution. More... | |
void | actions_after_newton_solve () |
Update the problem after solve (empty) More... | |
void | doc_solution (DocInfo &doc_info) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to. More... | |
Private Attributes | |
PoissonEquations< 2 >::PoissonSourceFctPt | Source_fct_pt |
Pointer to source function. More... | |
2D Poisson problem on rectangular domain, discretised with 2D QPoisson elements. The specific type of element is specified via the template parameter.
Definition at line 84 of file two_d_poisson.cc.
PoissonProblem< ELEMENT >::PoissonProblem | ( | PoissonEquations< 2 >::PoissonSourceFctPt | source_fct_pt | ) |
Constructor: Pass pointer to source function.
Constructor for Poisson problem: Pass pointer to source function.
Definition at line 120 of file two_d_poisson.cc.
References PoissonProblem< ELEMENT >::Source_fct_pt.
|
inline |
Destructor (empty)
Definition at line 93 of file two_d_poisson.cc.
PoissonProblem< ELEMENT >::PoissonProblem | ( | PoissonEquations< 2 >::PoissonSourceFctPt | source_fct_pt | ) |
Constructor: Pass pointer to source function.
|
inline |
Destructor (empty)
Definition at line 95 of file two_d_poisson2.cc.
PoissonProblem< ELEMENT >::PoissonProblem | ( | PoissonEquations< 2 >::PoissonSourceFctPt | source_fct_pt, |
const unsigned & | nel_1d, | ||
const bool & | mess_up_order | ||
) |
Constructor: Pass pointer to source function and flag to indicate if order of elements should be messed up. nel_1d is the number of elements along the 1d mesh edges – total number of elements is nel_1d x nel_1d.
Constructor for Poisson problem: Pass pointer to source function and a flag that specifies if the order of the elements should be messed up. nel_1d is the number of elements along the 1d mesh edges – total number of elements is nel_1d x nel_1d.
Definition at line 127 of file two_d_poisson_compare_solvers.cc.
References PoissonProblem< ELEMENT >::Source_fct_pt.
|
inline |
Destructor (empty)
Definition at line 97 of file two_d_poisson_compare_solvers.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 100 of file two_d_poisson.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 102 of file two_d_poisson2.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 104 of file two_d_poisson_compare_solvers.cc.
void PoissonProblem< ELEMENT >::actions_before_newton_solve |
Update the problem specs before solve: Reset boundary conditions to the values from the exact solution.
Update the problem specs before solve: (Re-)set boundary conditions to the values from the exact solution.
Definition at line 183 of file two_d_poisson.cc.
References TanhSolnForPoisson::get_exact_u().
void PoissonProblem< ELEMENT >::actions_before_newton_solve | ( | ) |
Update the problem specs before solve: Reset boundary conditions to the values from the exact solution.
void PoissonProblem< ELEMENT >::actions_before_newton_solve | ( | ) |
Update the problem specs before solve: Reset boundary conditions to the values from the exact solution.
void PoissonProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to.
Doc the solution: doc_info contains labels/output directory etc.
Definition at line 221 of file two_d_poisson.cc.
References TanhSolnForPoisson::get_exact_u().
void PoissonProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to.
void PoissonProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to.
|
private |
Pointer to source function.
Definition at line 109 of file two_d_poisson.cc.
Referenced by PoissonProblem< ELEMENT >::PoissonProblem().