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 52 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 61 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 77 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 45 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 93 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 96 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 99 of file simple_cubic_mesh.template.h.
References oomph::SimpleCubicMesh< ELEMENT >::Nx.
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 104 of file simple_cubic_mesh.template.h.
Referenced by oomph::SingleLayerCubicSpineMesh< ELEMENT >::build_single_layer_mesh(), oomph::SimpleCubicMesh< ELEMENT >::nx(), and oomph::SimpleCubicMesh< ELEMENT >::nz().
|
protected |
Number of elements in y direction.
Definition at line 107 of file simple_cubic_mesh.template.h.
Referenced by oomph::SingleLayerCubicSpineMesh< ELEMENT >::build_single_layer_mesh(), and oomph::SimpleCubicMesh< ELEMENT >::ny().
|
protected |
Number of elements in y direction.
Definition at line 110 of file simple_cubic_mesh.template.h.
Referenced by oomph::SingleLayerCubicSpineMesh< ELEMENT >::build_single_layer_mesh().
|
protected |
Maximum value of x coordinate.
Definition at line 116 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of x coordinate.
Definition at line 113 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of y coordinate.
Definition at line 122 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of y coordinate.
Definition at line 119 of file simple_cubic_mesh.template.h.
|
protected |
Maximum value of z coordinate.
Definition at line 128 of file simple_cubic_mesh.template.h.
|
protected |
Minimum value of z coordinate.
Definition at line 125 of file simple_cubic_mesh.template.h.
Referenced by oomph::SingleLayerCubicSpineMesh< ELEMENT >::spine_node_update().