2D Poisson problem on rectangular domain, discretised with refineable 2D QPoisson elements. The specific type of element is specified via the template parameter. More...
Public Member Functions | |
RefineablePoissonProblem (PoissonEquations< 2 >::PoissonSourceFctPt source_fct_pt) | |
Constructor: Pass pointer to source function. More... | |
~RefineablePoissonProblem () | |
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... | |
SimpleRefineableRectangularQuadMesh< ELEMENT > * | mesh_pt () |
Overloaded version of the Problem's access function to the mesh. Recasts the pointer to the base Mesh object to the actual mesh type. More... | |
Private Attributes | |
PoissonEquations< 2 >::PoissonSourceFctPt | Source_fct_pt |
Pointer to source function. More... | |
2D Poisson problem on rectangular domain, discretised with refineable 2D QPoisson elements. The specific type of element is specified via the template parameter.
Definition at line 127 of file two_d_poisson_adapt.cc.
RefineablePoissonProblem< ELEMENT >::RefineablePoissonProblem | ( | PoissonEquations< 2 >::PoissonSourceFctPt | source_fct_pt | ) |
Constructor: Pass pointer to source function.
Constructor for Poisson problem: Pass pointer to source function.
Definition at line 173 of file two_d_poisson_adapt.cc.
References RefineablePoissonProblem< ELEMENT >::mesh_pt(), and RefineablePoissonProblem< ELEMENT >::Source_fct_pt.
|
inline |
Destructor (empty)
Definition at line 137 of file two_d_poisson_adapt.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 144 of file two_d_poisson_adapt.cc.
void RefineablePoissonProblem< 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 241 of file two_d_poisson_adapt.cc.
References TanhSolnForPoisson::get_exact_u().
void RefineablePoissonProblem< 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 279 of file two_d_poisson_adapt.cc.
References TanhSolnForPoisson::get_exact_u().
Referenced by main().
|
inline |
Overloaded version of the Problem's access function to the mesh. Recasts the pointer to the base Mesh object to the actual mesh type.
Definition at line 153 of file two_d_poisson_adapt.cc.
Referenced by RefineablePoissonProblem< ELEMENT >::RefineablePoissonProblem().
|
private |
Pointer to source function.
Definition at line 162 of file two_d_poisson_adapt.cc.
Referenced by RefineablePoissonProblem< ELEMENT >::RefineablePoissonProblem().