/////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// More...
Public Member Functions | |
RefineableAdvectionDiffusionProblem (AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt source_fct_pt, AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt wind_fct_pt) | |
Constructor: Pass pointer to source and wind functions. More... | |
~RefineableAdvectionDiffusionProblem () | |
Destructor. Empty. More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve: Reset boundary conditions to the values from the tanh solution. More... | |
void | actions_after_newton_solve () |
Update the problem after solve (empty) More... | |
void | actions_before_adapt () |
Actions before adapt: Document the solution. More... | |
void | doc_solution () |
Doc the solution. More... | |
RefineableRectangularQuadMesh< 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... | |
RefineableAdvectionDiffusionProblem (AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt source_fct_pt, AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt wind_fct_pt) | |
Constructor: Pass pointer to source function. More... | |
~RefineableAdvectionDiffusionProblem () | |
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... | |
RefineableRectangularQuadMesh< 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 | |
DocInfo | Doc_info |
DocInfo object. More... | |
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt | Source_fct_pt |
Pointer to source function. More... | |
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt | Wind_fct_pt |
Pointer to wind function. More... | |
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
2D AdvectionDiffusion problem on rectangular domain, discretised with refineable 2D QAdvectionDiffusion elements. The specific type of element is specified via the template parameter.
Definition at line 102 of file two_d_adv_diff_adapt.cc.
RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem | ( | AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt | source_fct_pt, |
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt | wind_fct_pt | ||
) |
Constructor: Pass pointer to source and wind functions.
Constructor for AdvectionDiffusion problem: Pass pointer to source function.
Definition at line 164 of file two_d_adv_diff_adapt.cc.
References RefineableAdvectionDiffusionProblem< ELEMENT >::Doc_info, RefineableAdvectionDiffusionProblem< ELEMENT >::mesh_pt(), TanhSolnForAdvectionDiffusion::Peclet, RefineableAdvectionDiffusionProblem< ELEMENT >::Source_fct_pt, and RefineableAdvectionDiffusionProblem< ELEMENT >::Wind_fct_pt.
|
inline |
Destructor. Empty.
Definition at line 113 of file two_d_adv_diff_adapt.cc.
RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem | ( | AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt | source_fct_pt, |
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt | wind_fct_pt | ||
) |
Constructor: Pass pointer to source function.
|
inline |
Destructor (empty)
Definition at line 107 of file two_d_adv_diff_adapt2.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 120 of file two_d_adv_diff_adapt.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 114 of file two_d_adv_diff_adapt2.cc.
|
inline |
Actions before adapt: Document the solution.
Definition at line 123 of file two_d_adv_diff_adapt.cc.
void RefineableAdvectionDiffusionProblem< ELEMENT >::actions_before_newton_solve |
Update the problem specs before solve: Reset boundary conditions to the values from the tanh solution.
Update the problem specs before solve: (Re-)set boundary conditions to the values from the exact solution.
Update the problem specs before solve: (Re-)set boundary conditions to the values from the tanh solution.
Definition at line 239 of file two_d_adv_diff_adapt.cc.
References TanhSolnForAdvectionDiffusion::get_exact_u().
void RefineableAdvectionDiffusionProblem< ELEMENT >::actions_before_newton_solve | ( | ) |
Update the problem specs before solve: Reset boundary conditions to the values from the exact solution.
void RefineableAdvectionDiffusionProblem< ELEMENT >::doc_solution |
Doc the solution.
Definition at line 277 of file two_d_adv_diff_adapt.cc.
References TanhSolnForAdvectionDiffusion::get_exact_u().
Referenced by main().
void RefineableAdvectionDiffusionProblem< 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 254 of file two_d_adv_diff_adapt2.cc.
|
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 138 of file two_d_adv_diff_adapt.cc.
Referenced by main(), and RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem().
|
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 123 of file two_d_adv_diff_adapt2.cc.
|
private |
DocInfo object.
Definition at line 147 of file two_d_adv_diff_adapt.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem().
|
private |
Pointer to source function.
Definition at line 150 of file two_d_adv_diff_adapt.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem().
|
private |
Pointer to wind function.
Definition at line 153 of file two_d_adv_diff_adapt.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem().