30 #ifndef OOMPH_SIMPLE_CUBIC_MESH_HEADER 31 #define OOMPH_SIMPLE_CUBIC_MESH_HEADER 35 #include <oomph-lib-config.h> 39 #include "../generic/mesh.h" 40 #include "../generic/matrices.h" 41 #include "../generic/brick_mesh.h" 42 #include "../generic/refineable_brick_mesh.h" 51 template <
class ELEMENT>
62 const double &lx,
const double &ly,
const double &lz,
68 MeshChecker::assert_geometric_element<QElementGeometricBase,ELEMENT>(3);
78 const double &xmin,
const double &xmax,
const double &ymin,
79 const double &ymax,
const double &zmin,
const double &zmax,
85 MeshChecker::assert_geometric_element<QElementGeometricBase,ELEMENT>(3);
93 const unsigned &
nx()
const {
return Nx;}
96 const unsigned &
ny()
const {
return Ny;}
99 const unsigned &
nz()
const {
return Nx;}
143 template <
class ELEMENT>
165 this->setup_octree_forest();
184 xmin,xmax,ymin,ymax,zmin,zmax,
189 this->setup_octree_forest();
unsigned Ny
Number of elements in y direction.
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...
const unsigned & ny() const
Access function for number of elements in y directions.
unsigned Nx
Number of elements in x direction.
static Steady< 0 > Default_TimeStepper
Default Steady Timestepper, to be used in default arguments to Mesh constructors. ...
const unsigned & nz() const
Access function for number of elements in y directions.
double Ymax
Minimum value of y coordinate.
Base class for brick meshes (meshes made of 3D brick elements).
Simple cubic 3D Brick mesh class.
double Zmax
Maximum value of z coordinate.
unsigned Nz
Number of elements in y direction.
double Xmax
Maximum value of x coordinate.
double Xmin
Minimum value of x coordinate.
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...
double Ymin
Minimum value of y coordinate.
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 Zmin
Minimum value of z coordinate.
Refineable version of simple cubic 3D Brick mesh class.
void build_mesh(TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
Generic mesh construction function: contains all the hard work.
const unsigned & nx() const
Access function for number of elements in x directions.
Base class for time-stepping schemes. Timestepper provides an approximation of the temporal derivativ...
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...