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,
    63                  TimeStepper* time_stepper_pt=&Mesh::Default_TimeStepper) :
    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, 
    80                  TimeStepper* time_stepper_pt=&Mesh::Default_TimeStepper) :
    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;}
   131  void build_mesh(TimeStepper* time_stepper_pt=&Mesh::Default_TimeStepper);
   143 template <
class ELEMENT>
   145  public virtual RefineableBrickMesh<ELEMENT>
   159                            TimeStepper* time_stepper_pt=
   160                            &Mesh::Default_TimeStepper):
   165    this->setup_octree_forest();
   181                            TimeStepper* time_stepper_pt=
   182                            &Mesh::Default_TimeStepper) :
   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. 
 
const unsigned & nz() const
Access function for number of elements in y directions. 
 
double Ymax
Minimum value of y coordinate. 
 
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. 
 
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...