/////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// More...
#include <cylinder_with_flag_mesh.template.h>
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 ¢re_x, const double ¢re_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. More... | |
virtual | ~AlgebraicCylinderWithFlagMesh () |
Destructor: empty. More... | |
void | set_bottom_flag_pt (GeomObject *bottom_flag_pt) |
Set geometric object that defines the bottom face of the flag. More... | |
void | set_top_flag_pt (GeomObject *top_flag_pt) |
Set the geometric object that defines the top face of the flag. More... | |
void | set_tip_flag_pt (GeomObject *tip_flag_pt) |
Set the geometric object that defines the tip of the flag. More... | |
GeomObject * | bottom_flag_pt () const |
Read-only access to geometric object that defines the bottom face of the flag. More... | |
GeomObject * | top_flag_pt () const |
Read-only access to geometric object that defines the top face of the flag. More... | |
GeomObject * | tip_flag_pt () const |
Read-only access to geometric object that defines the tip of the flag. More... | |
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. More... | |
void | algebraic_node_update (const unsigned &t, AlgebraicNode *&node_pt) |
Update nodal position at time level t (t=0: present; t>0: previous) More... | |
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 ¢re_x, const double ¢re_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. More... | |
virtual | ~CylinderWithFlagMesh () |
Destructor: Kill the domain. More... | |
CylinderWithFlagDomain * | domain_pt () |
Access function to the domain. More... | |
Protected Member Functions | |
void | setup_algebraic_node_update () |
Function to setup the algebraic node update. More... | |
void | node_update_I (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_II (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_III (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_IV (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_V (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_VI (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_VII (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_VIII (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
void | node_update_IX (const unsigned &t, AlgebraicNode *&node_pt) |
Helper function. More... | |
Protected Attributes | |
GeomObject * | Cylinder_pt |
Cylinder. More... | |
GeomObject * | Top_flag_pt |
Top flag. More... | |
GeomObject * | Bottom_flag_pt |
Bottom flag. More... | |
GeomObject * | Tip_flag_pt |
Tip flag. More... | |
double | Length |
Length of the domain. More... | |
double | Height |
Height of the domain. More... | |
double | Flag_length |
Flag length. More... | |
double | Flag_height |
Flag thickness. More... | |
double | Centre_x |
x position of the centre of the cylinder More... | |
double | Centre_y |
x position of the centre of the cylinder More... | |
double | A |
radius of the cylinder More... | |
Protected Attributes inherited from oomph::CylinderWithFlagMesh< ELEMENT > | |
CylinderWithFlagDomain * | Domain_pt |
Pointer to the domain. More... | |
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
Algebraic version of CylinderWithFlagMesh.
Definition at line 155 of file cylinder_with_flag_mesh.template.h.
|
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 165 of file cylinder_with_flag_mesh.template.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().
|
inlinevirtual |
Destructor: empty.
Definition at line 214 of file cylinder_with_flag_mesh.template.h.
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 1344 of file cylinder_with_flag_mesh.template.cc.
|
inline |
Read-only access to geometric object that defines the bottom face of the flag.
Definition at line 246 of file cylinder_with_flag_mesh.template.h.
References oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Bottom_flag_pt.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::AlgebraicCylinderWithFlagMesh(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_bottom_flag_pt().
|
protected |
Helper function.
Node update for region I.
Definition at line 1402 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region II.
Definition at line 1441 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region III.
Definition at line 1477 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region IV.
Definition at line 1523 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region IX.
Extreme angles on circle
Definition at line 1793 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region V.
Definition at line 1571 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region VI.
Definition at line 1620 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region VII.
Definition at line 1662 of file cylinder_with_flag_mesh.template.cc.
|
protected |
Helper function.
Node update for region VIII.
Extreme angles on circle
Definition at line 1707 of file cylinder_with_flag_mesh.template.cc.
|
inline |
Set geometric object that defines the bottom face of the flag.
Definition at line 219 of file cylinder_with_flag_mesh.template.h.
References oomph::CylinderWithFlagDomain::bottom_flag_pt(), oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::bottom_flag_pt(), oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Bottom_flag_pt, and oomph::CylinderWithFlagMesh< ELEMENT >::domain_pt().
|
inline |
Set the geometric object that defines the tip of the flag.
Definition at line 237 of file cylinder_with_flag_mesh.template.h.
References oomph::CylinderWithFlagMesh< ELEMENT >::domain_pt(), oomph::CylinderWithFlagDomain::tip_flag_pt(), oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::tip_flag_pt(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Tip_flag_pt.
|
inline |
Set the geometric object that defines the top face of the flag.
Definition at line 228 of file cylinder_with_flag_mesh.template.h.
References oomph::CylinderWithFlagMesh< ELEMENT >::domain_pt(), oomph::CylinderWithFlagDomain::top_flag_pt(), oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::top_flag_pt(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Top_flag_pt.
|
protected |
Function to setup the algebraic node update.
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
Setup algebraic node update
set the size ??
Definition at line 915 of file cylinder_with_flag_mesh.template.cc.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::AlgebraicCylinderWithFlagMesh().
|
inline |
Read-only access to geometric object that defines the tip of the flag.
Definition at line 261 of file cylinder_with_flag_mesh.template.h.
References oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Tip_flag_pt.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::AlgebraicCylinderWithFlagMesh(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_tip_flag_pt().
|
inline |
Read-only access to geometric object that defines the top face of the flag.
Definition at line 254 of file cylinder_with_flag_mesh.template.h.
References oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::Top_flag_pt.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::AlgebraicCylinderWithFlagMesh(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_top_flag_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 270 of file cylinder_with_flag_mesh.template.h.
|
protected |
radius of the cylinder
Definition at line 339 of file cylinder_with_flag_mesh.template.h.
|
protected |
Bottom flag.
Definition at line 315 of file cylinder_with_flag_mesh.template.h.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::bottom_flag_pt(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_bottom_flag_pt().
|
protected |
x position of the centre of the cylinder
Definition at line 333 of file cylinder_with_flag_mesh.template.h.
|
protected |
x position of the centre of the cylinder
Definition at line 336 of file cylinder_with_flag_mesh.template.h.
|
protected |
Cylinder.
Definition at line 309 of file cylinder_with_flag_mesh.template.h.
|
protected |
Flag thickness.
Definition at line 330 of file cylinder_with_flag_mesh.template.h.
|
protected |
Flag length.
Definition at line 327 of file cylinder_with_flag_mesh.template.h.
|
protected |
Height of the domain.
Definition at line 324 of file cylinder_with_flag_mesh.template.h.
|
protected |
Length of the domain.
Definition at line 321 of file cylinder_with_flag_mesh.template.h.
|
protected |
Tip flag.
Definition at line 318 of file cylinder_with_flag_mesh.template.h.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_tip_flag_pt(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::tip_flag_pt().
|
protected |
Top flag.
Definition at line 312 of file cylinder_with_flag_mesh.template.h.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_top_flag_pt(), and oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::top_flag_pt().