Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oomph::AlgebraicCylinderWithFlagMesh< ELEMENT > Class Template Reference

Algebraic version of CylinderWithFlagMesh. More...

#include <cylinder_with_flag_mesh.h>

Inheritance diagram for oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >:
oomph::CylinderWithFlagMesh< ELEMENT > oomph::RefineableAlgebraicCylinderWithFlagMesh< ELEMENT >

Public Member Functions

 AlgebraicCylinderWithFlagMesh (Circle *cylinder_pt, GeomObject *top_flag_pt, GeomObject *bottom_flag_pt, GeomObject *tip_flag_pt, const double &length, const double &height, const double &flag_length, const double &flag_height, const double &centre_x, const double &centre_y, const double &a, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor. Pass the pointers to the GeomObjects that parametrise the cylinder, the three edges of the flag, the length and height of the domain, the length and height of the flag, the coordinates of the centre of the cylinder and its radius. Timestepper defaults to Steady default timestepper.
 
virtual ~AlgebraicCylinderWithFlagMesh ()
 Destructor: empty.
 
void set_bottom_flag_pt (GeomObject *bottom_flag_pt)
 Set geometric object that defines the bottom face of the flag.
 
void set_top_flag_pt (GeomObject *top_flag_pt)
 Set the geometric object that defines the top face of the flag.
 
void set_tip_flag_pt (GeomObject *tip_flag_pt)
 Set the geometric object that defines the tip of the flag.
 
GeomObjectbottom_flag_pt () const
 Read-only access to geometric object that defines the bottom face of the flag.
 
GeomObjecttop_flag_pt () const
 Read-only access to geometric object that defines the top face of the flag.
 
GeomObjecttip_flag_pt () const
 Read-only access to geometric object that defines the tip of the flag.
 
void update_node_update (AlgebraicNode *&node_pt)
 Update the geometric references that are used to update node after mesh adaptation. Empty – no update of node update required without adaptativity.
 
void algebraic_node_update (const unsigned &t, AlgebraicNode *&node_pt)
 Update nodal position at time level t (t=0: present; t>0: previous)
 
- Public Member Functions inherited from oomph::CylinderWithFlagMesh< ELEMENT >
 CylinderWithFlagMesh (Circle *cylinder_pt, GeomObject *top_flag_pt, GeomObject *bottom_flag_pt, GeomObject *tip_flag_pt, const double &length, const double &height, const double &flag_length, const double &flag_height, const double &centre_x, const double &centre_y, const double &a, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor. Pass the pointers to the GeomObjects that parametrise the cylinder, the three edges of the flag, the length and height of the domain, the length and height of the flag, the coordinates of the centre of the cylinder and its radius. Timestepper defaults to Steady default timestepper.
 
virtual ~CylinderWithFlagMesh ()
 Destructor: Kill the domain.
 
CylinderWithFlagDomaindomain_pt ()
 Access function to the domain.
 

Protected Member Functions

void setup_algebraic_node_update ()
 Function to setup the algebraic node update.
 
void node_update_I (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_II (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_III (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_IV (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_V (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_VI (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_VII (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_VIII (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 
void node_update_IX (const unsigned &t, AlgebraicNode *&node_pt)
 Helper function.
 

Protected Attributes

GeomObjectCylinder_pt
 Cylinder.
 
GeomObjectTop_flag_pt
 Top flag.
 
GeomObjectBottom_flag_pt
 Bottom flag.
 
GeomObjectTip_flag_pt
 Tip flag.
 
double Length
 Length of the domain.
 
double Height
 Height of the domain.
 
double Flag_length
 Flag length.
 
double Flag_height
 Flag thickness.
 
double Centre_x
 x position of the centre of the cylinder
 
double Centre_y
 x position of the centre of the cylinder
 
double A
 radius of the cylinder
 
- Protected Attributes inherited from oomph::CylinderWithFlagMesh< ELEMENT >
CylinderWithFlagDomainDomain_pt
 Pointer to the domain.
 

Detailed Description

template<class ELEMENT>
class oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >

Algebraic version of CylinderWithFlagMesh.

Definition at line 151 of file cylinder_with_flag_mesh.h.

Constructor & Destructor Documentation

◆ AlgebraicCylinderWithFlagMesh()

template<class ELEMENT >
oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::AlgebraicCylinderWithFlagMesh ( Circle cylinder_pt,
GeomObject top_flag_pt,
GeomObject bottom_flag_pt,
GeomObject tip_flag_pt,
const double length,
const double height,
const double flag_length,
const double flag_height,
const double centre_x,
const double centre_y,
const double a,
TimeStepper time_stepper_pt = &Mesh::Default_TimeStepper 
)
inline

Constructor. Pass the pointers to the GeomObjects that parametrise the cylinder, the three edges of the flag, the length and height of the domain, the length and height of the flag, the coordinates of the centre of the cylinder and its radius. Timestepper defaults to Steady default timestepper.

Definition at line 161 of file cylinder_with_flag_mesh.h.

References oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::bottom_flag_pt(), oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::setup_algebraic_node_update(), oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::tip_flag_pt(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::top_flag_pt().

◆ ~AlgebraicCylinderWithFlagMesh()

Destructor: empty.

Definition at line 210 of file cylinder_with_flag_mesh.h.

Member Function Documentation

◆ algebraic_node_update()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::algebraic_node_update ( const unsigned t,
AlgebraicNode *&  node_pt 
)

Update nodal position at time level t (t=0: present; t>0: previous)

The algebraic node update function.

Definition at line 1308 of file cylinder_with_flag_mesh.template.cc.

◆ bottom_flag_pt()

template<class ELEMENT >
GeomObject * oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::bottom_flag_pt ( ) const
inline

◆ node_update_I()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_I ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region I.

Definition at line 1365 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_II()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_II ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region II.

Definition at line 1403 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_III()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_III ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region III.

Definition at line 1439 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_IV()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_IV ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region IV.

Definition at line 1485 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_IX()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_IX ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region IX.

Extreme angles on circle

Definition at line 1752 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_V()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_V ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region V.

Definition at line 1533 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_VI()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_VI ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region VI.

Definition at line 1582 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_VII()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_VII ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region VII.

Definition at line 1623 of file cylinder_with_flag_mesh.template.cc.

◆ node_update_VIII()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::node_update_VIII ( const unsigned t,
AlgebraicNode *&  node_pt 
)
protected

Helper function.

Node update for region VIII.

Extreme angles on circle

Definition at line 1666 of file cylinder_with_flag_mesh.template.cc.

◆ set_bottom_flag_pt()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_bottom_flag_pt ( GeomObject bottom_flag_pt)
inline

◆ set_tip_flag_pt()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_tip_flag_pt ( GeomObject tip_flag_pt)
inline

◆ set_top_flag_pt()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_top_flag_pt ( GeomObject top_flag_pt)
inline

◆ setup_algebraic_node_update()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::setup_algebraic_node_update ( )
protected

Function to setup the algebraic node update.

Setup algebraic node update.

set the size ??

Definition at line 884 of file cylinder_with_flag_mesh.template.cc.

Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::AlgebraicCylinderWithFlagMesh().

◆ tip_flag_pt()

template<class ELEMENT >
GeomObject * oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::tip_flag_pt ( ) const
inline

◆ top_flag_pt()

template<class ELEMENT >
GeomObject * oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::top_flag_pt ( ) const
inline

◆ update_node_update()

template<class ELEMENT >
void oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::update_node_update ( AlgebraicNode *&  node_pt)
inline

Update the geometric references that are used to update node after mesh adaptation. Empty – no update of node update required without adaptativity.

Definition at line 266 of file cylinder_with_flag_mesh.h.

Member Data Documentation

◆ A

radius of the cylinder

Definition at line 335 of file cylinder_with_flag_mesh.h.

◆ Bottom_flag_pt

template<class ELEMENT >
GeomObject* oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Bottom_flag_pt
protected

◆ Centre_x

x position of the centre of the cylinder

Definition at line 329 of file cylinder_with_flag_mesh.h.

◆ Centre_y

x position of the centre of the cylinder

Definition at line 332 of file cylinder_with_flag_mesh.h.

◆ Cylinder_pt

template<class ELEMENT >
GeomObject* oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Cylinder_pt
protected

Cylinder.

Definition at line 305 of file cylinder_with_flag_mesh.h.

◆ Flag_height

template<class ELEMENT >
double oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Flag_height
protected

Flag thickness.

Definition at line 326 of file cylinder_with_flag_mesh.h.

◆ Flag_length

template<class ELEMENT >
double oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Flag_length
protected

Flag length.

Definition at line 323 of file cylinder_with_flag_mesh.h.

◆ Height

Height of the domain.

Definition at line 320 of file cylinder_with_flag_mesh.h.

◆ Length

Length of the domain.

Definition at line 317 of file cylinder_with_flag_mesh.h.

◆ Tip_flag_pt

template<class ELEMENT >
GeomObject* oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Tip_flag_pt
protected

◆ Top_flag_pt

template<class ELEMENT >
GeomObject* oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Top_flag_pt
protected

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