Sundance::PeanoMesher3D Class Reference

Inheritance diagram for Sundance::PeanoMesher3D:

Sundance::MeshSourceBase Playa::Handleable< MeshSourceBase > Playa::Printable Sundance::Noncopyable Sundance::ObjectWithClassVerbosity< MeshSourceBase > Playa::ObjectWithVerbosity

List of all members.

Public Member Functions

 PeanoMesher3D (double position_x, double position_y, double position_z, double offset_x, double offset_y, double offset_z, double resolution, const MeshType &meshType, const MPIComm &comm=MPIComm::world())
 Set up meshing, for the Peano mesh position_x position_y position_z offset_x offset_y offset_z resolution,.
 PeanoMesher3D (const ParameterList &params)
 Create a rectangle mesher from a ParameterList.
virtual ~PeanoMesher3D ()
virtual std::string description () const
 Print a short descriptive std::string.
virtual RCP< MeshSourceBasegetRcp ()
 Return a ref count pointer to self.

Protected Member Functions

virtual Mesh fillMesh () const
 The method which all Mesher should have.

Private Attributes

double _position_x
 The X coordinate of the origin point (lower left).
double _position_y
 The Y coordinate of the origin point (lower left).
double _position_z
 The Z coordinate of the origin point (lower left).
double _offset_x
 The offset (length) of the grid in the X direction.
double _offset_y
 The offset (length) of the grid in the Y direction.
double _offset_z
 The offset (length) of the grid in the Z direction.
double _resolution
 The resolution in each dimension, since we do not want to have stretched elements.


Detailed Description

Definition at line 49 of file SundancePeanoMesher3D.hpp.


Constructor & Destructor Documentation

Sundance::PeanoMesher3D::PeanoMesher3D ( double  position_x,
double  position_y,
double  position_z,
double  offset_x,
double  offset_y,
double  offset_z,
double  resolution,
const MeshType meshType,
const MPIComm comm = MPIComm::world() 
) [inline]

Set up meshing, for the Peano mesh position_x position_y position_z offset_x offset_y offset_z resolution,.

Definition at line 62 of file SundancePeanoMesher3D.hpp.

PeanoMesher3D::PeanoMesher3D ( const ParameterList &  params  ) 

Create a rectangle mesher from a ParameterList.

Definition at line 46 of file SundancePeanoMesher3D.cpp.

virtual Sundance::PeanoMesher3D::~PeanoMesher3D (  )  [inline, virtual]

Definition at line 78 of file SundancePeanoMesher3D.hpp.


Member Function Documentation

virtual std::string Sundance::PeanoMesher3D::description (  )  const [inline, virtual]

Print a short descriptive std::string.

Reimplemented from Sundance::MeshSourceBase.

Definition at line 81 of file SundancePeanoMesher3D.hpp.

References _offset_x, _offset_y, _offset_z, _position_x, _position_y, _position_z, _resolution, and Sundance::toString().

Mesh PeanoMesher3D::fillMesh (  )  const [protected, virtual]

virtual RCP<MeshSourceBase> Sundance::PeanoMesher3D::getRcp (  )  [inline, virtual]

Return a ref count pointer to self.

Implements Playa::Handleable< MeshSourceBase >.

Definition at line 92 of file SundancePeanoMesher3D.hpp.


Member Data Documentation

The offset (length) of the grid in the X direction.

Definition at line 109 of file SundancePeanoMesher3D.hpp.

Referenced by description(), and fillMesh().

The offset (length) of the grid in the Y direction.

Definition at line 111 of file SundancePeanoMesher3D.hpp.

Referenced by description(), and fillMesh().

The offset (length) of the grid in the Z direction.

Definition at line 113 of file SundancePeanoMesher3D.hpp.

Referenced by description(), and fillMesh().

The X coordinate of the origin point (lower left).

Definition at line 103 of file SundancePeanoMesher3D.hpp.

Referenced by description(), and fillMesh().

The Y coordinate of the origin point (lower left).

Definition at line 105 of file SundancePeanoMesher3D.hpp.

Referenced by description(), and fillMesh().

The Z coordinate of the origin point (lower left).

Definition at line 107 of file SundancePeanoMesher3D.hpp.

Referenced by description(), and fillMesh().

The resolution in each dimension, since we do not want to have stretched elements.

Definition at line 115 of file SundancePeanoMesher3D.hpp.

Referenced by description(), and fillMesh().

Site Contact