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

////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// More...

#include <collapsible_channel_mesh.template.h>

Inheritance diagram for oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >:
oomph::CollapsibleChannelMesh< ELEMENT > oomph::SimpleRectangularQuadMesh< ELEMENT > oomph::RefineableAlgebraicCollapsibleChannelMesh< ELEMENT >

Public Member Functions

 AlgebraicCollapsibleChannelMesh (const unsigned &nup, const unsigned &ncollapsible, const unsigned &ndown, const unsigned &ny, const double &lup, const double &lcollapsible, const double &ldown, const double &ly, GeomObject *wall_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More...
 
virtual ~AlgebraicCollapsibleChannelMesh ()
 Destructor: empty. More...
 
 AlgebraicCollapsibleChannelMesh (const unsigned &nup, const unsigned &ncollapsible, const unsigned &ndown, const unsigned &ny, const double &lup, const double &lcollapsible, const double &ldown, const double &ly, GeomObject *wall_pt, CollapsibleChannelDomain::BLSquashFctPt bl_squash_function_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More...
 
CollapsibleChannelDomain::BLSquashFctPtbl_squash_fct_pt ()
 Function pointer for function that squashes the mesh near the walls. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up! More...
 
CollapsibleChannelDomain::BLSquashFctPtaxial_spacing_fct_pt ()
 Function pointer for function that redistributes nodes axially. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up! 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...
 
void update_node_update (AlgebraicNode *&node_pt)
 Update the node-udate data after mesh adaptation. Empty – no update of node update required as this is non-refineable mesh. More...
 
- Public Member Functions inherited from oomph::CollapsibleChannelMesh< ELEMENT >
 CollapsibleChannelMesh (const unsigned &nup, const unsigned &ncollapsible, const unsigned &ndown, const unsigned &ny, const double &lup, const double &lcollapsible, const double &ldown, const double &ly, GeomObject *wall_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More...
 
 ~CollapsibleChannelMesh ()
 destructor More...
 
GeomObject *& wall_pt ()
 Access function to GeomObject representing wall. More...
 
CollapsibleChannelDomaindomain_pt ()
 Access function to domain. More...
 
CollapsibleChannelDomain::BLSquashFctPt bl_squash_fct_pt () const
 Function pointer for function that squashes the mesh near the walls. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Const version. More...
 
virtual CollapsibleChannelDomain::AxialSpacingFctPtaxial_spacing_fct_pt () const
 Function pointer for function that redistributes the elements in the axial direction. Const version. More...
 
- Public Member Functions inherited from oomph::SimpleRectangularQuadMesh< ELEMENT >
 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...
 

Protected Attributes

CollapsibleChannelDomain::BLSquashFctPt Dummy_fct_pt
 Dummy function pointer. More...
 
- Protected Attributes inherited from oomph::CollapsibleChannelMesh< ELEMENT >
CollapsibleChannelDomainDomain_pt
 Pointer to domain. More...
 
unsigned Nup
 Number of element columns in upstream part. More...
 
unsigned Ncollapsible
 Number of element columns in collapsible part. More...
 
unsigned Ndown
 Number of element columns in downstream part. More...
 
unsigned Ny
 Number of element rows across channel. More...
 
GeomObject * Wall_pt
 Pointer to geometric object that represents the moving wall. More...
 

Detailed Description

template<class ELEMENT>
class oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >

////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////

Collapsible channel mesh with algebraic node update

Definition at line 426 of file collapsible_channel_mesh.template.h.

Constructor & Destructor Documentation

◆ AlgebraicCollapsibleChannelMesh() [1/2]

template<class ELEMENT >
oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::AlgebraicCollapsibleChannelMesh ( const unsigned &  nup,
const unsigned &  ncollapsible,
const unsigned &  ndown,
const unsigned &  ny,
const double &  lup,
const double &  lcollapsible,
const double &  ldown,
const double &  ly,
GeomObject *  wall_pt,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)
inline

Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady).

Definition at line 436 of file collapsible_channel_mesh.template.h.

References oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update(), and oomph::CollapsibleChannelMesh< ELEMENT >::wall_pt().

◆ ~AlgebraicCollapsibleChannelMesh()

template<class ELEMENT >
virtual oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::~AlgebraicCollapsibleChannelMesh ( )
inlinevirtual

Destructor: empty.

Definition at line 466 of file collapsible_channel_mesh.template.h.

◆ AlgebraicCollapsibleChannelMesh() [2/2]

template<class ELEMENT >
oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::AlgebraicCollapsibleChannelMesh ( const unsigned &  nup,
const unsigned &  ncollapsible,
const unsigned &  ndown,
const unsigned &  ny,
const double &  lup,
const double &  lcollapsible,
const double &  ldown,
const double &  ly,
GeomObject *  wall_pt,
CollapsibleChannelDomain::BLSquashFctPt  bl_squash_function_pt,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)
inline

Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady).

Definition at line 474 of file collapsible_channel_mesh.template.h.

References oomph::CollapsibleChannelDomain::bl_squash_fct_pt(), oomph::CollapsibleChannelMesh< ELEMENT >::Domain_pt, oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update(), and oomph::CollapsibleChannelMesh< ELEMENT >::wall_pt().

Member Function Documentation

◆ algebraic_node_update()

template<class ELEMENT >
void oomph::AlgebraicCollapsibleChannelMesh< 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 mesh update at time level t (t=0: present; t>0: previous)

Definition at line 242 of file collapsible_channel_mesh.template.cc.

◆ axial_spacing_fct_pt()

template<class ELEMENT >
CollapsibleChannelDomain::BLSquashFctPt& oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::axial_spacing_fct_pt ( )
inlinevirtual

Function pointer for function that redistributes nodes axially. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up!

Reimplemented from oomph::CollapsibleChannelMesh< ELEMENT >.

Definition at line 542 of file collapsible_channel_mesh.template.h.

References oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::Dummy_fct_pt.

◆ bl_squash_fct_pt()

template<class ELEMENT >
CollapsibleChannelDomain::BLSquashFctPt& oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::bl_squash_fct_pt ( )
inlinevirtual

Function pointer for function that squashes the mesh near the walls. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up!

Reimplemented from oomph::CollapsibleChannelMesh< ELEMENT >.

Definition at line 517 of file collapsible_channel_mesh.template.h.

References oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::Dummy_fct_pt.

◆ setup_algebraic_node_update()

template<class ELEMENT >
void oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update
protected

Function to setup the algebraic node update.

Setup algebraic mesh update – assumes that mesh has initially been set up with a flush upper wall.

Definition at line 324 of file collapsible_channel_mesh.template.cc.

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

◆ update_node_update()

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

Update the node-udate data after mesh adaptation. Empty – no update of node update required as this is non-refineable mesh.

Definition at line 567 of file collapsible_channel_mesh.template.h.

Member Data Documentation

◆ Dummy_fct_pt

template<class ELEMENT >
CollapsibleChannelDomain::BLSquashFctPt oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::Dummy_fct_pt
protected

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