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

Driven cavity problem in rectangular domain, templated by element type. More...

Inheritance diagram for RefineableDrivenCavityProblem< ELEMENT >:

Public Member Functions

 RefineableDrivenCavityProblem ()
 Constructor. More...
 
 ~RefineableDrivenCavityProblem ()
 Destructor: Empty. More...
 
void actions_after_newton_solve ()
 Update the after solve (empty) More...
 
void actions_before_newton_solve ()
 Update the problem specs before solve. (Re-)set velocity boundary conditions just to be on the safe side... More...
 
void actions_after_adapt ()
 After adaptation: Unpin pressure and pin redudant pressure dofs. More...
 
void doc_solution (DocInfo &doc_info)
 Doc the solution. More...
 

Private Member Functions

void fix_pressure (const unsigned &e, const unsigned &pdof, const double &pvalue)
 Fix pressure in element e at pressure dof pdof and set to pvalue. More...
 

Detailed Description

template<class ELEMENT>
class RefineableDrivenCavityProblem< ELEMENT >

Driven cavity problem in rectangular domain, templated by element type.

Definition at line 58 of file adaptive_driven_cavity.cc.

Constructor & Destructor Documentation

◆ RefineableDrivenCavityProblem()

template<class ELEMENT >
RefineableDrivenCavityProblem< ELEMENT >::RefineableDrivenCavityProblem

Constructor.

Constructor for RefineableDrivenCavity problem.

Definition at line 144 of file adaptive_driven_cavity.cc.

References Global_Physical_Variables::Re.

◆ ~RefineableDrivenCavityProblem()

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

Destructor: Empty.

Definition at line 67 of file adaptive_driven_cavity.cc.

Member Function Documentation

◆ actions_after_adapt()

template<class ELEMENT >
void RefineableDrivenCavityProblem< ELEMENT >::actions_after_adapt ( )
inline

After adaptation: Unpin pressure and pin redudant pressure dofs.

Definition at line 106 of file adaptive_driven_cavity.cc.

◆ actions_after_newton_solve()

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

Update the after solve (empty)

Definition at line 70 of file adaptive_driven_cavity.cc.

◆ actions_before_newton_solve()

template<class ELEMENT >
void RefineableDrivenCavityProblem< ELEMENT >::actions_before_newton_solve ( )
inline

Update the problem specs before solve. (Re-)set velocity boundary conditions just to be on the safe side...

Definition at line 74 of file adaptive_driven_cavity.cc.

◆ doc_solution()

template<class ELEMENT >
void RefineableDrivenCavityProblem< ELEMENT >::doc_solution ( DocInfo &  doc_info)

Doc the solution.

Definition at line 219 of file adaptive_driven_cavity.cc.

Referenced by main().

◆ fix_pressure()

template<class ELEMENT >
void RefineableDrivenCavityProblem< ELEMENT >::fix_pressure ( const unsigned &  e,
const unsigned &  pdof,
const double &  pvalue 
)
inlineprivate

Fix pressure in element e at pressure dof pdof and set to pvalue.

Definition at line 127 of file adaptive_driven_cavity.cc.


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