Public Member Functions | Private Attributes | List of all members
SUPGAdvectionDiffusionProblem< ELEMENT > Class Template Reference

/////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// More...

Inheritance diagram for SUPGAdvectionDiffusionProblem< ELEMENT >:

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...
 

Detailed Description

template<class ELEMENT>
class SUPGAdvectionDiffusionProblem< ELEMENT >

/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////

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.

Constructor & Destructor Documentation

◆ SUPGAdvectionDiffusionProblem()

template<class ELEMENT >
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.

◆ ~SUPGAdvectionDiffusionProblem()

template<class ELEMENT >
SUPGAdvectionDiffusionProblem< ELEMENT >::~SUPGAdvectionDiffusionProblem ( )
inline

Destructor. Empty.

Definition at line 106 of file two_d_adv_diff_SUPG.cc.

Member Function Documentation

◆ actions_after_newton_solve()

template<class ELEMENT >
void SUPGAdvectionDiffusionProblem< ELEMENT >::actions_after_newton_solve ( )
inline

Update the problem after solve (empty)

Definition at line 114 of file two_d_adv_diff_SUPG.cc.

◆ actions_before_newton_solve()

template<class ELEMENT >
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().

◆ doc_solution()

template<class ELEMENT >
void SUPGAdvectionDiffusionProblem< ELEMENT >::doc_solution

Doc the solution.

Definition at line 294 of file two_d_adv_diff_SUPG.cc.

Referenced by main().

◆ mesh_pt()

template<class ELEMENT >
RectangularQuadMesh<ELEMENT>* SUPGAdvectionDiffusionProblem< ELEMENT >::mesh_pt ( )
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().

Member Data Documentation

◆ Doc_info

template<class ELEMENT >
DocInfo SUPGAdvectionDiffusionProblem< ELEMENT >::Doc_info
private

◆ Source_fct_pt

template<class ELEMENT >
AdvectionDiffusionEquations<2>::AdvectionDiffusionSourceFctPt SUPGAdvectionDiffusionProblem< ELEMENT >::Source_fct_pt
private

Pointer to source function.

Definition at line 134 of file two_d_adv_diff_SUPG.cc.

Referenced by SUPGAdvectionDiffusionProblem< ELEMENT >::SUPGAdvectionDiffusionProblem().

◆ Use_stabilisation

template<class ELEMENT >
bool SUPGAdvectionDiffusionProblem< ELEMENT >::Use_stabilisation
private

Flag to indicate if stabilisation is to be used.

Definition at line 140 of file two_d_adv_diff_SUPG.cc.

◆ Wind_fct_pt

template<class ELEMENT >
AdvectionDiffusionEquations<2>::AdvectionDiffusionWindFctPt SUPGAdvectionDiffusionProblem< ELEMENT >::Wind_fct_pt
private

Pointer to wind function.

Definition at line 137 of file two_d_adv_diff_SUPG.cc.

Referenced by SUPGAdvectionDiffusionProblem< ELEMENT >::SUPGAdvectionDiffusionProblem().


The documentation for this class was generated from the following file: