/////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// More...
Public Member Functions | |
SUPGAdvectionDiffusionProblem (AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt source_fct_pt, AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt wind_fct_pt, const bool &use_stabilisation) | |
Constructor: Pass pointer to source and wind functions, and flag to indicate if stabilisation is to be used. More... | |
~SUPGAdvectionDiffusionProblem () | |
Destructor. Empty. More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve: Reset boundary conditions to the values from the tanh solution and compute stabilisation parameter. More... | |
void | actions_after_newton_solve () |
Update the problem after solve (empty) More... | |
void | doc_solution () |
Doc the solution. More... | |
RectangularQuadMesh< 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... | |
bool | Use_stabilisation |
Flag to indicate if stabilisation is to be used. 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 93 of file two_d_adv_diff_SUPG.cc.
SUPGAdvectionDiffusionProblem< ELEMENT >::SUPGAdvectionDiffusionProblem | ( | AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt | source_fct_pt, |
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt | wind_fct_pt, | ||
const bool & | use_stabilisation | ||
) |
Constructor: Pass pointer to source and wind functions, and flag to indicate if stabilisation is to be used.
Constructor for AdvectionDiffusion problem: Pass pointer to source function and wind functions and flag to indicate if stabilisation is to be used.
Definition at line 152 of file two_d_adv_diff_SUPG.cc.
References SUPGAdvectionDiffusionProblem< ELEMENT >::Doc_info, SUPGAdvectionDiffusionProblem< ELEMENT >::mesh_pt(), GlobalPhysicalParameters::Peclet, SUPGAdvectionDiffusionProblem< ELEMENT >::Source_fct_pt, and SUPGAdvectionDiffusionProblem< ELEMENT >::Wind_fct_pt.
|
inline |
Destructor. Empty.
Definition at line 106 of file two_d_adv_diff_SUPG.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 114 of file two_d_adv_diff_SUPG.cc.
void SUPGAdvectionDiffusionProblem< ELEMENT >::actions_before_newton_solve |
Update the problem specs before solve: Reset boundary conditions to the values from the tanh solution and compute stabilisation parameter.
Update the problem specs before solve: (Re-)set boundary conditions.
Definition at line 233 of file two_d_adv_diff_SUPG.cc.
References GlobalPhysicalParameters::get_boundary_values().
void SUPGAdvectionDiffusionProblem< ELEMENT >::doc_solution |
|
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 122 of file two_d_adv_diff_SUPG.cc.
Referenced by SUPGAdvectionDiffusionProblem< ELEMENT >::SUPGAdvectionDiffusionProblem().
|
private |
DocInfo object.
Definition at line 131 of file two_d_adv_diff_SUPG.cc.
Referenced by SUPGAdvectionDiffusionProblem< ELEMENT >::SUPGAdvectionDiffusionProblem().
|
private |
Pointer to source function.
Definition at line 134 of file two_d_adv_diff_SUPG.cc.
Referenced by SUPGAdvectionDiffusionProblem< ELEMENT >::SUPGAdvectionDiffusionProblem().
|
private |
Flag to indicate if stabilisation is to be used.
Definition at line 140 of file two_d_adv_diff_SUPG.cc.
|
private |
Pointer to wind function.
Definition at line 137 of file two_d_adv_diff_SUPG.cc.
Referenced by SUPGAdvectionDiffusionProblem< ELEMENT >::SUPGAdvectionDiffusionProblem().