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

Simple 2D triangular mesh for TElements. More...

#include <simple_rectangular_tri_mesh.template.h>

Inheritance diagram for oomph::SimpleRectangularTriMesh< ELEMENT >:

Public Member Functions

 SimpleRectangularTriMesh (const unsigned &n_x, const unsigned &n_y, const double &l_x, const double &l_y, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor n_x : number of elements in the x direction; n_y : number of elements in the y direction; l_x : length in the x direction l_y : length in the y direction Ordering of elements: 'lower left' to 'lower right' then 'upwards'. 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...
 

Private Attributes

unsigned Nx
 Number of elements in x direction. More...
 
unsigned Ny
 Number of elements in y directions. More...
 
double Lx
 Length of mesh in x-direction. More...
 
double Ly
 Length of mesh in y-direction. More...
 

Detailed Description

template<class ELEMENT>
class oomph::SimpleRectangularTriMesh< ELEMENT >

Simple 2D triangular mesh for TElements.

Definition at line 48 of file simple_rectangular_tri_mesh.template.h.

Constructor & Destructor Documentation

◆ SimpleRectangularTriMesh()

template<class ELEMENT >
oomph::SimpleRectangularTriMesh< ELEMENT >::SimpleRectangularTriMesh ( const unsigned &  n_x,
const unsigned &  n_y,
const double &  l_x,
const double &  l_y,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)

Constructor n_x : number of elements in the x direction; n_y : number of elements in the y direction; l_x : length in the x direction l_y : length in the y direction Ordering of elements: 'lower left' to 'lower right' then 'upwards'.

Constructor for simple 2D triangular mesh class:

n_x : number of elements in the x direction

n_y : number of elements in the y direction

l_x : length in the x direction

l_y : length in the y direction

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

Definition at line 54 of file simple_rectangular_tri_mesh.template.cc.

References oomph::SimpleRectangularTriMesh< ELEMENT >::Lx, oomph::SimpleRectangularTriMesh< ELEMENT >::Ly, oomph::SimpleRectangularTriMesh< ELEMENT >::Nx, and oomph::SimpleRectangularTriMesh< ELEMENT >::Ny.

Member Function Documentation

◆ nx()

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

Access function for number of elements in x directions.

Definition at line 65 of file simple_rectangular_tri_mesh.template.h.

References oomph::SimpleRectangularTriMesh< ELEMENT >::Nx.

◆ ny()

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

Access function for number of elements in y directions.

Definition at line 71 of file simple_rectangular_tri_mesh.template.h.

References oomph::SimpleRectangularTriMesh< ELEMENT >::Ny.

Member Data Documentation

◆ Lx

template<class ELEMENT >
double oomph::SimpleRectangularTriMesh< ELEMENT >::Lx
private

Length of mesh in x-direction.

Definition at line 84 of file simple_rectangular_tri_mesh.template.h.

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

◆ Ly

template<class ELEMENT >
double oomph::SimpleRectangularTriMesh< ELEMENT >::Ly
private

Length of mesh in y-direction.

Definition at line 87 of file simple_rectangular_tri_mesh.template.h.

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

◆ Nx

template<class ELEMENT >
unsigned oomph::SimpleRectangularTriMesh< ELEMENT >::Nx
private

◆ Ny

template<class ELEMENT >
unsigned oomph::SimpleRectangularTriMesh< ELEMENT >::Ny
private

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