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

Simple rectangular 2D Quad mesh class. Nx : number of elements in the x direction. More...

#include <simple_rectangular_quadmesh.h>

Inheritance diagram for oomph::SimpleRectangularQuadMesh< ELEMENT >:
oomph::ChannelWithLeafletMesh< ELEMENT > oomph::CollapsibleChannelMesh< ELEMENT > oomph::FSIDrivenCavityMesh< ELEMENT > oomph::AlgebraicChannelWithLeafletMesh< ELEMENT > oomph::MacroElementNodeUpdateChannelWithLeafletMesh< ELEMENT > oomph::PseudoElasticChannelWithLeafletMesh< ELEMENT > oomph::RefineableChannelWithLeafletMesh< ELEMENT > oomph::AlgebraicCollapsibleChannelMesh< ELEMENT > oomph::MacroElementNodeUpdateCollapsibleChannelMesh< ELEMENT > oomph::RefineableCollapsibleChannelMesh< ELEMENT > oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT > oomph::RefineableFSIDrivenCavityMesh< ELEMENT >

Public Member Functions

 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.
 
const unsignednx () const
 Access function for number of elements in x directions.
 
const unsignedny () const
 Access function for number of elements in y directions.
 

Private Attributes

unsigned NX
 Number of elements in x direction.
 
unsigned NY
 Number of elements in y direction.
 

Detailed Description

template<class ELEMENT>
class oomph::SimpleRectangularQuadMesh< ELEMENT >

Simple rectangular 2D Quad mesh class. Nx : number of elements in the x direction.

Ny : number of elements in the y direction

Lx : length in the x direction

Ly : length in the y direction

Ordering of elements: 'Lower left' to 'lower right' then 'upwards'

Timestepper defaults to Steady.

Definition at line 57 of file simple_rectangular_quadmesh.h.

Constructor & Destructor Documentation

◆ SimpleRectangularQuadMesh()

template<class ELEMENT >
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.

Constructor for 2D Quad mesh class:

Nx : number of elements in the x direction

Ny : number of elements in the y direction

Lx : length in the x direction

Ly : length in the y direction

Ordering of elements: 'Lower left' to 'lower right' then 'upwards'

Timestepper defaults to Steady.

Definition at line 53 of file simple_rectangular_quadmesh.template.cc.

Member Function Documentation

◆ nx()

template<class ELEMENT >
const unsigned & oomph::SimpleRectangularQuadMesh< ELEMENT >::nx ( ) const
inline

Access function for number of elements in x directions.

Definition at line 71 of file simple_rectangular_quadmesh.h.

References oomph::SimpleRectangularQuadMesh< ELEMENT >::NX.

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

◆ ny()

template<class ELEMENT >
const unsigned & oomph::SimpleRectangularQuadMesh< ELEMENT >::ny ( ) const
inline

Member Data Documentation

◆ NX

Number of elements in x direction.

Definition at line 84 of file simple_rectangular_quadmesh.h.

Referenced by oomph::SimpleRectangularQuadMesh< ELEMENT >::nx().

◆ NY

Number of elements in y direction.

Definition at line 87 of file simple_rectangular_quadmesh.h.

Referenced by oomph::SimpleRectangularQuadMesh< ELEMENT >::ny().


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