Simple 2D triangular mesh for TElements. More...
#include <simple_rectangular_tri_mesh.template.h>
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... | |
Simple 2D triangular mesh for TElements.
Definition at line 48 of file simple_rectangular_tri_mesh.template.h.
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.
|
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.
|
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.
|
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().
|
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().
|
private |
Number of elements in x direction.
Definition at line 78 of file simple_rectangular_tri_mesh.template.h.
Referenced by oomph::SimpleRectangularTriMesh< ELEMENT >::nx(), and oomph::SimpleRectangularTriMesh< ELEMENT >::SimpleRectangularTriMesh().
|
private |
Number of elements in y directions.
Definition at line 81 of file simple_rectangular_tri_mesh.template.h.
Referenced by oomph::SimpleRectangularTriMesh< ELEMENT >::ny(), and oomph::SimpleRectangularTriMesh< ELEMENT >::SimpleRectangularTriMesh().