Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oomph::SimpleCubicMesh< ELEMENT > Class Template Reference

Simple cubic 3D Brick mesh class. More...

#include <simple_cubic_mesh.template.h>

Inheritance diagram for oomph::SimpleCubicMesh< ELEMENT >:
oomph::QuarterPipeMesh< ELEMENT > oomph::RefineableSimpleCubicMesh< ELEMENT > oomph::SingleLayerCubicSpineMesh< ELEMENT > oomph::ElasticQuarterPipeMesh< ELEMENT > oomph::RefineableQuarterPipeMesh< ELEMENT > oomph::ElasticRefineableQuarterPipeMesh< ELEMENT >

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...
 

Detailed Description

template<class ELEMENT>
class oomph::SimpleCubicMesh< ELEMENT >

Simple cubic 3D Brick mesh class.

Definition at line 46 of file simple_cubic_mesh.template.h.

Constructor & Destructor Documentation

◆ SimpleCubicMesh() [1/2]

template<class ELEMENT >
oomph::SimpleCubicMesh< ELEMENT >::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 
)
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().

◆ SimpleCubicMesh() [2/2]

template<class ELEMENT >
oomph::SimpleCubicMesh< ELEMENT >::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 
)
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().

Member Function Documentation

◆ build_mesh()

template<class ELEMENT >
void oomph::SimpleCubicMesh< ELEMENT >::build_mesh ( TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper)
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().

◆ nx()

template<class ELEMENT >
const unsigned& oomph::SimpleCubicMesh< ELEMENT >::nx ( ) const
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.

◆ ny()

template<class ELEMENT >
const unsigned& oomph::SimpleCubicMesh< ELEMENT >::ny ( ) const
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.

◆ nz()

template<class ELEMENT >
const unsigned& oomph::SimpleCubicMesh< ELEMENT >::nz ( ) const
inline

Member Data Documentation

◆ Nx

template<class ELEMENT >
unsigned oomph::SimpleCubicMesh< ELEMENT >::Nx
protected

Number of elements in x direction.

Definition at line 127 of file simple_cubic_mesh.template.h.

Referenced by oomph::SimpleCubicMesh< ELEMENT >::nx().

◆ Ny

template<class ELEMENT >
unsigned oomph::SimpleCubicMesh< ELEMENT >::Ny
protected

Number of elements in y direction.

Definition at line 130 of file simple_cubic_mesh.template.h.

Referenced by oomph::SimpleCubicMesh< ELEMENT >::ny().

◆ Nz

template<class ELEMENT >
unsigned oomph::SimpleCubicMesh< ELEMENT >::Nz
protected

Number of elements in y direction.

Definition at line 133 of file simple_cubic_mesh.template.h.

Referenced by oomph::SimpleCubicMesh< ELEMENT >::nz().

◆ Xmax

template<class ELEMENT >
double oomph::SimpleCubicMesh< ELEMENT >::Xmax
protected

Maximum value of x coordinate.

Definition at line 139 of file simple_cubic_mesh.template.h.

◆ Xmin

template<class ELEMENT >
double oomph::SimpleCubicMesh< ELEMENT >::Xmin
protected

Minimum value of x coordinate.

Definition at line 136 of file simple_cubic_mesh.template.h.

◆ Ymax

template<class ELEMENT >
double oomph::SimpleCubicMesh< ELEMENT >::Ymax
protected

Minimum value of y coordinate.

Definition at line 145 of file simple_cubic_mesh.template.h.

◆ Ymin

template<class ELEMENT >
double oomph::SimpleCubicMesh< ELEMENT >::Ymin
protected

Minimum value of y coordinate.

Definition at line 142 of file simple_cubic_mesh.template.h.

◆ Zmax

template<class ELEMENT >
double oomph::SimpleCubicMesh< ELEMENT >::Zmax
protected

Maximum value of z coordinate.

Definition at line 151 of file simple_cubic_mesh.template.h.

◆ Zmin

template<class ELEMENT >
double oomph::SimpleCubicMesh< ELEMENT >::Zmin
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().


The documentation for this class was generated from the following files: