Public Member Functions | Private Attributes | List of all members
RefineableAdvectionDiffusionProblem< ELEMENT > Class Template Reference
Inheritance diagram for RefineableAdvectionDiffusionProblem< ELEMENT >:

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

Detailed Description

template<class ELEMENT>
class RefineableAdvectionDiffusionProblem< 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 106 of file two_d_adv_diff_adapt.cc.

Constructor & Destructor Documentation

template<class ELEMENT >
RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem ( AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt  source_fct_pt,
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt  wind_fct_pt 
)
template<class ELEMENT >
RefineableAdvectionDiffusionProblem< ELEMENT >::~RefineableAdvectionDiffusionProblem ( )
inline

Destructor. Empty.

Definition at line 117 of file two_d_adv_diff_adapt.cc.

template<class ELEMENT >
RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem ( AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt  source_fct_pt,
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionWindFctPt  wind_fct_pt 
)

Constructor: Pass pointer to source function.

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

Destructor (empty)

Definition at line 111 of file two_d_adv_diff_adapt2.cc.

Member Function Documentation

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

Update the problem after solve (empty)

Definition at line 118 of file two_d_adv_diff_adapt2.cc.

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

Update the problem after solve (empty)

Definition at line 124 of file two_d_adv_diff_adapt.cc.

template<class ELEMENT >
void RefineableAdvectionDiffusionProblem< ELEMENT >::actions_before_adapt ( )
inline

Actions before adapt: Document the solution.

Definition at line 127 of file two_d_adv_diff_adapt.cc.

template<class ELEMENT >
void RefineableAdvectionDiffusionProblem< ELEMENT >::actions_before_newton_solve ( )

Update the problem specs before solve: Reset boundary conditions to the values from the exact solution.

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

Update the problem specs before solve: (Re-)set boundary conditions to the values from the exact solution.

Definition at line 243 of file two_d_adv_diff_adapt.cc.

References TanhSolnForAdvectionDiffusion::get_exact_u().

template<class ELEMENT >
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 258 of file two_d_adv_diff_adapt2.cc.

template<class ELEMENT >
void RefineableAdvectionDiffusionProblem< ELEMENT >::doc_solution ( )

Doc the solution.

Definition at line 281 of file two_d_adv_diff_adapt.cc.

References TanhSolnForAdvectionDiffusion::get_exact_u().

Referenced by main().

template<class ELEMENT >
RefineableRectangularQuadMesh<ELEMENT>* RefineableAdvectionDiffusionProblem< 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 127 of file two_d_adv_diff_adapt2.cc.

template<class ELEMENT >
RefineableRectangularQuadMesh<ELEMENT>* RefineableAdvectionDiffusionProblem< 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 142 of file two_d_adv_diff_adapt.cc.

Referenced by main(), and RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem().

Member Data Documentation

template<class ELEMENT >
DocInfo RefineableAdvectionDiffusionProblem< ELEMENT >::Doc_info
private
template<class ELEMENT >
AdvectionDiffusionEquations< 2 >::AdvectionDiffusionSourceFctPt RefineableAdvectionDiffusionProblem< ELEMENT >::Source_fct_pt
private

Pointer to source function.

Definition at line 154 of file two_d_adv_diff_adapt.cc.

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

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

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