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

Spine mesh class derived from standard cubic 3D mesh. The mesh contains a layer of spinified fluid elements (of type ELEMENT; e.g SpineElement<QCrouzeixRaviartElement<3>) for 3D problems, in which the interface's vertical position can vary. More...

#include <single_layer_cubic_spine_mesh.template.h>

Inheritance diagram for oomph::SingleLayerCubicSpineMesh< ELEMENT >:
oomph::SimpleCubicMesh< ELEMENT >

Public Member Functions

 SingleLayerCubicSpineMesh (const unsigned &nx, const unsigned &ny, const unsigned &nz, const double &lx, const double &ly, const double &h, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements in x-direction, number of elements in y-direction, number of elements in z-direction, lengths in x- and y- directions, height of layer, and pointer to timestepper (defaults to Steady timestepper) More...
 
virtual void spine_node_update (SpineNode *spine_node_pt)
 General node update function implements pure virtual function defined in SpineMesh base class and performs specific node update actions: along vertical spines. More...
 
- Public Member Functions inherited from oomph::SimpleCubicMesh< ELEMENT >
 SimpleCubicMesh (const unsigned &nx, const unsigned &ny, const unsigned &nz, const double &lx, const double &ly, const double &lz, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements in the x, y, and z directions, and the corresponding dimensions. Assume that the back lower left corner is located at (0,0,0) Timestepper defaults to Steady. More...
 
 SimpleCubicMesh (const unsigned &nx, const unsigned &ny, const unsigned &nz, const double &xmin, const double &xmax, const double &ymin, const double &ymax, const double &zmin, const double &zmax, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass the number of elements in the x,y and z directions and the correspoding minimum and maximum values of the coordinates in each direction. 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...
 
const unsigned & nz () const
 Access function for number of elements in y directions. More...
 

Protected Member Functions

virtual void build_single_layer_mesh (TimeStepper *time_stepper_pt)
 Helper function to actually build the single-layer spine mesh (called from various constructors) More...
 
- Protected Member Functions inherited from oomph::SimpleCubicMesh< ELEMENT >
void build_mesh (TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Generic mesh construction function: contains all the hard work. More...
 

Additional Inherited Members

- Protected Attributes inherited from oomph::SimpleCubicMesh< ELEMENT >
unsigned Nx
 Number of elements in x direction. More...
 
unsigned Ny
 Number of elements in y direction. More...
 
unsigned Nz
 Number of elements in y direction. More...
 
double Xmin
 Minimum value of x coordinate. More...
 
double Xmax
 Maximum value of x coordinate. More...
 
double Ymin
 Minimum value of y coordinate. More...
 
double Ymax
 Minimum value of y coordinate. More...
 
double Zmin
 Minimum value of z coordinate. More...
 
double Zmax
 Maximum value of z coordinate. More...
 

Detailed Description

template<class ELEMENT>
class oomph::SingleLayerCubicSpineMesh< ELEMENT >

Spine mesh class derived from standard cubic 3D mesh. The mesh contains a layer of spinified fluid elements (of type ELEMENT; e.g SpineElement<QCrouzeixRaviartElement<3>) for 3D problems, in which the interface's vertical position can vary.

This mesh has been carefully designed so that the numeration of the nodes on the boundaries 0 and 5 (bottom and top) coincides with the numeration of the spines

Definition at line 46 of file single_layer_cubic_spine_mesh.template.h.

Constructor & Destructor Documentation

◆ SingleLayerCubicSpineMesh()

template<class ELEMENT >
oomph::SingleLayerCubicSpineMesh< ELEMENT >::SingleLayerCubicSpineMesh ( const unsigned &  nx,
const unsigned &  ny,
const unsigned &  nz,
const double &  lx,
const double &  ly,
const double &  h,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)

Constructor: Pass number of elements in x-direction, number of elements in y-direction, number of elements in z-direction, lengths in x- and y- directions, height of layer, and pointer to timestepper (defaults to Steady timestepper)

Constructor for spine 3D mesh: Pass number of elements in x-direction, number of elements in y-direction, number elements in z-direction, length, width and height of layer, and pointer to timestepper (defaults to Static timestepper).

Definition at line 41 of file single_layer_cubic_spine_mesh.template.cc.

References oomph::SingleLayerCubicSpineMesh< ELEMENT >::build_single_layer_mesh().

Member Function Documentation

◆ build_single_layer_mesh()

template<class ELEMENT >
void oomph::SingleLayerCubicSpineMesh< ELEMENT >::build_single_layer_mesh ( TimeStepper *  time_stepper_pt)
protectedvirtual

Helper function to actually build the single-layer spine mesh (called from various constructors)

Helper function that actually builds the single-layer spine mesh based on the parameters set in the various constructors.

Definition at line 66 of file single_layer_cubic_spine_mesh.template.cc.

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

◆ spine_node_update()

template<class ELEMENT >
virtual void oomph::SingleLayerCubicSpineMesh< ELEMENT >::spine_node_update ( SpineNode *  spine_node_pt)
inlinevirtual

General node update function implements pure virtual function defined in SpineMesh base class and performs specific node update actions: along vertical spines.

Definition at line 66 of file single_layer_cubic_spine_mesh.template.h.

References Global_Physical_Variables::H, and oomph::SimpleCubicMesh< ELEMENT >::Zmin.


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