26 #ifndef OOMPH_SIMPLE_CUBIC_MESH_HEADER
27 #define OOMPH_SIMPLE_CUBIC_MESH_HEADER
31 #include <oomph-lib-config.h>
35 #include "../generic/mesh.h"
36 #include "../generic/matrices.h"
37 #include "../generic/brick_mesh.h"
38 #include "../generic/refineable_brick_mesh.h"
45 template<
class ELEMENT>
58 TimeStepper* time_stepper_pt = &Mesh::Default_TimeStepper)
70 MeshChecker::assert_geometric_element<QElementGeometricBase, ELEMENT>(3);
88 TimeStepper* time_stepper_pt = &Mesh::Default_TimeStepper)
100 MeshChecker::assert_geometric_element<QElementGeometricBase, ELEMENT>(3);
108 const unsigned&
nx()
const
114 const unsigned&
ny()
const
120 const unsigned&
nz()
const
154 void build_mesh(TimeStepper* time_stepper_pt = &Mesh::Default_TimeStepper);
166 template<
class ELEMENT>
168 public virtual RefineableBrickMesh<ELEMENT>
181 TimeStepper* time_stepper_pt = &Mesh::Default_TimeStepper)
186 this->setup_octree_forest();
203 TimeStepper* time_stepper_pt = &Mesh::Default_TimeStepper)
205 nx,
ny,
nz, xmin, xmax, ymin, ymax, zmin, zmax, time_stepper_pt)
209 this->setup_octree_forest();
///////////////////////////////////////////////////////////////////////// ///////////////////////////...
RefineableSimpleCubicMesh(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...
RefineableSimpleCubicMesh(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....
Simple cubic 3D Brick mesh class.
unsigned Ny
Number of elements in y direction.
const unsigned & ny() const
Access function for number of elements in y directions.
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...
unsigned Nz
Number of elements in y direction.
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....
double Ymax
Minimum value of y coordinate.
double Ymin
Minimum value of y coordinate.
unsigned Nx
Number of elements in x direction.
double Xmin
Minimum value of x coordinate.
const unsigned & nx() const
Access function for number of elements in x directions.
const unsigned & nz() const
Access function for number of elements in y directions.
void build_mesh(TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Generic mesh construction function: contains all the hard work.
double Zmax
Maximum value of z coordinate.
double Zmin
Minimum value of z coordinate.
double Xmax
Maximum value of x coordinate.
////////////////////////////////////////////////////////////////////// //////////////////////////////...