#include <channel_with_leaflet_mesh.template.h>
Public Member Functions | |
AlgebraicChannelWithLeafletMesh (GeomObject *leaflet_pt, const double &lleft, const double &lright, const double &hleaflet, const double &htot, const unsigned &nleft, const unsigned &nright, const unsigned &ny1, const unsigned &ny2, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass pointer to GeomObject that represents the leaflet, the length of the domain to left and right of the leaflet, the height of the leaflet and the overall height of the channel, the number of element columns to the left and right of the leaflet, the number of rows of elements from the bottom of the channel to the end of the leaflet, the number of rows of elements above the end of the leaflet. Timestepper defaults to Steady default Timestepper defined in the Mesh base class. More... | |
virtual | ~AlgebraicChannelWithLeafletMesh () |
Destructor: empty. 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 adaptivity. 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... | |
![]() | |
ChannelWithLeafletMesh (GeomObject *leaflet_pt, const double &lleft, const double &lright, const double &hleaflet, const double &htot, const unsigned &nleft, const unsigned &nright, const unsigned &ny1, const unsigned &ny2, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass pointer to GeomObject that represents the leaflet, the length of the domain to left and right of the leaflet, the height of the leaflet and the overall height of the channel, the number of element columns to the left and right of the leaflet, the number of rows of elements from the bottom of the channel to the end of the leaflet, the number of rows of elements above the end of the leaflet. Timestepper defaults to Steady default Timestepper defined in the Mesh base class. More... | |
virtual | ~ChannelWithLeafletMesh () |
Destructor : empty. More... | |
ChannelWithLeafletDomain * | domain_pt () |
Access function to domain. More... | |
![]() | |
SimpleRectangularQuadMesh (const unsigned &Nx, const unsigned &Ny, const double &Lx, const double &Ly, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass number of elements in the horizontal and vertical directions, and the corresponding dimensions. Timestepper defaults to Steady. More... | |
const unsigned & | nx () const |
Access function for number of elements in x directions. More... | |
const unsigned & | ny () const |
Access function for number of elements in y directions. 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) |
Update function for nodes in lower left region (I) More... | |
void | node_update_II (const unsigned &t, AlgebraicNode *&node_pt) |
Update function for nodes in lower right region (II) More... | |
void | node_update_III (const unsigned &t, AlgebraicNode *&node_pt) |
Update function for nodes in upper left region (III) More... | |
void | node_update_IV (const unsigned &t, AlgebraicNode *&node_pt) |
Update function for nodes in upper right region (IV) More... | |
void | slanted_bound_up (const unsigned &t, const Vector< double > &zeta, Vector< double > &r) |
Helper function. More... | |
Protected Attributes | |
double | X_0 |
double | Hleaflet |
![]() | |
ChannelWithLeafletDomain * | Domain_pt |
Pointer to domain. More... | |
GeomObject * | Leaflet_pt |
Pointer to GeomObject that represents the leaflet. More... | |
Algebraic version of ChannelWithLeafletMesh. Leaflet is assumed to be in its undeformed (straight vertical) position when the algebraic node update is set up.
Definition at line 333 of file channel_with_leaflet_mesh.template.h.
|
inline |
Constructor: Pass pointer to GeomObject that represents the leaflet, the length of the domain to left and right of the leaflet, the height of the leaflet and the overall height of the channel, the number of element columns to the left and right of the leaflet, the number of rows of elements from the bottom of the channel to the end of the leaflet, the number of rows of elements above the end of the leaflet. Timestepper defaults to Steady default Timestepper defined in the Mesh base class.
Definition at line 346 of file channel_with_leaflet_mesh.template.h.
References oomph::ChannelWithLeafletMesh< ELEMENT >::Leaflet_pt.
|
inlinevirtual |
Destructor: empty.
Definition at line 377 of file channel_with_leaflet_mesh.template.h.
void oomph::AlgebraicChannelWithLeafletMesh< ELEMENT >::algebraic_node_update | ( | const unsigned & | t, |
AlgebraicNode *& | node_pt | ||
) |
Update nodal position at time level t (t=0: present; t>0: previous)
Perform algebraic node update.
Definition at line 425 of file channel_with_leaflet_mesh.template.cc.
|
protected |
Update function for nodes in lower left region (I)
Node update for region I.
Definition at line 471 of file channel_with_leaflet_mesh.template.cc.
References oomph::ChannelWithLeafletMesh< ELEMENT >::domain_pt(), and oomph::ChannelWithLeafletDomain::lleft().
|
protected |
Update function for nodes in lower right region (II)
Node update for region II.
Definition at line 516 of file channel_with_leaflet_mesh.template.cc.
References oomph::ChannelWithLeafletMesh< ELEMENT >::domain_pt(), and oomph::ChannelWithLeafletDomain::lright().
|
protected |
Update function for nodes in upper left region (III)
Node update for region III.
Definition at line 582 of file channel_with_leaflet_mesh.template.cc.
References oomph::ChannelWithLeafletMesh< ELEMENT >::domain_pt(), and oomph::ChannelWithLeafletDomain::lleft().
|
protected |
Update function for nodes in upper right region (IV)
Node update for region IV.
Definition at line 616 of file channel_with_leaflet_mesh.template.cc.
References oomph::ChannelWithLeafletMesh< ELEMENT >::domain_pt(), and oomph::ChannelWithLeafletDomain::lright().
|
protected |
Function to setup the algebraic node update.
Setup algebraic node update. Leaflet is assumed to be in its undeformed (straight vertical) position!
Definition at line 246 of file channel_with_leaflet_mesh.template.cc.
References oomph::ChannelWithLeafletMesh< ELEMENT >::domain_pt(), oomph::ChannelWithLeafletDomain::hleaflet(), oomph::ChannelWithLeafletDomain::htot(), oomph::ChannelWithLeafletMesh< ELEMENT >::Leaflet_pt, oomph::ChannelWithLeafletDomain::lleft(), and oomph::ChannelWithLeafletDomain::lright().
|
protected |
Helper function.
Slanted bound : helper function.
Coordinates of the point on the boundary beetween the upper and the lower part, in the same column, at the east.
Definition at line 558 of file channel_with_leaflet_mesh.template.cc.
References oomph::ChannelWithLeafletMesh< ELEMENT >::domain_pt(), oomph::ChannelWithLeafletDomain::htot(), and oomph::ChannelWithLeafletMesh< ELEMENT >::Leaflet_pt.
|
inline |
Update the geometric references that are used to update node after mesh adaptation. Empty – no update of node update required without adaptivity.
Definition at line 383 of file channel_with_leaflet_mesh.template.h.
|
protected |
Length of the leaflet (stored explicitly for reference in algebraic node update – it's also stored independently in domain....)
Definition at line 418 of file channel_with_leaflet_mesh.template.h.
|
protected |
Origin of the wall (stored explicitly for reference in algebraic node update – it's also stored independently in domain....)
Definition at line 413 of file channel_with_leaflet_mesh.template.h.