Simple cubic 3D Brick mesh class. More...
#include <simple_cubic_mesh.template.h>
Public Member Functions | |
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 | |
void | build_mesh (TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) |
Generic mesh construction function: contains all the hard work. More... | |
Protected Attributes | |
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... | |
Simple cubic 3D Brick mesh class.
Definition at line 46 of file simple_cubic_mesh.template.h.
|
inline |
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.
Definition at line 52 of file simple_cubic_mesh.template.h.
References oomph::SimpleCubicMesh< ELEMENT >::build_mesh().
|
inline |
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.
Definition at line 79 of file simple_cubic_mesh.template.h.
References oomph::SimpleCubicMesh< ELEMENT >::build_mesh().
|
protected |
Generic mesh construction function: contains all the hard work.
Generic mesh construction. This function contains all the details of the mesh generation process, including all the tedious loops, counting spacing and boundary functions.
Definition at line 40 of file simple_cubic_mesh.template.cc.
Referenced by oomph::SimpleCubicMesh< ELEMENT >::SimpleCubicMesh().
|
inline |
Access function for number of elements in x directions.
Definition at line 108 of file simple_cubic_mesh.template.h.
References oomph::SimpleCubicMesh< ELEMENT >::Nx.
|
inline |
Access function for number of elements in y directions.
Definition at line 114 of file simple_cubic_mesh.template.h.
References oomph::SimpleCubicMesh< ELEMENT >::Ny.
|
inline |
Access function for number of elements in y directions.
Definition at line 120 of file simple_cubic_mesh.template.h.
References oomph::SimpleCubicMesh< ELEMENT >::Nz.
Referenced by oomph::ElasticRefineableQuarterPipeMesh< ELEMENT >::ElasticRefineableQuarterPipeMesh(), oomph::QuarterPipeMesh< ELEMENT >::QuarterPipeMesh(), and oomph::RefineableQuarterPipeMesh< ELEMENT >::RefineableQuarterPipeMesh().
|
protected |
Number of elements in x direction.
Definition at line 127 of file simple_cubic_mesh.template.h.
Referenced by oomph::SimpleCubicMesh< ELEMENT >::nx().
|
protected |
Number of elements in y direction.
Definition at line 130 of file simple_cubic_mesh.template.h.
Referenced by oomph::SimpleCubicMesh< ELEMENT >::ny().
|
protected |
Number of elements in y direction.
Definition at line 133 of file simple_cubic_mesh.template.h.
Referenced by oomph::SimpleCubicMesh< ELEMENT >::nz().
|
protected |
Maximum value of x coordinate.
Definition at line 139 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of x coordinate.
Definition at line 136 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of y coordinate.
Definition at line 145 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of y coordinate.
Definition at line 142 of file simple_cubic_mesh.template.h.
|
protected |
Maximum value of z coordinate.
Definition at line 151 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of z coordinate.
Definition at line 148 of file simple_cubic_mesh.template.h.
Referenced by oomph::SingleLayerCubicSpineMesh< ELEMENT >::spine_node_update().