Sundance::PeanoMesher2D Class Reference

Inheritance diagram for Sundance::PeanoMesher2D:

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

List of all members.

Public Member Functions

 PeanoMesher2D (double position_x, double position_y, double offset_x, double offset_y, double resolution, const MeshType &meshType, const MPIComm &comm=MPIComm::world())
 PeanoMesher2D (const ParameterList &params)
virtual ~PeanoMesher2D ()
virtual std::string description () const
virtual RCP< MeshSourceBasegetRcp ()

Protected Member Functions

virtual Mesh fillMesh () const

Private Attributes

double _position_x
double _position_y
double _offset_x
double _offset_y
double _resolution


Detailed Description

Definition at line 49 of file SundancePeanoMesher2D.hpp.


Constructor & Destructor Documentation

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

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

Definition at line 60 of file SundancePeanoMesher2D.hpp.

PeanoMesher2D::PeanoMesher2D ( const ParameterList &  params  ) 

Create a rectangle mesher from a ParameterList

Definition at line 46 of file SundancePeanoMesher2D.cpp.

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

Definition at line 76 of file SundancePeanoMesher2D.hpp.


Member Function Documentation

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

Print a short descriptive std::string

Reimplemented from Sundance::MeshSourceBase.

Definition at line 79 of file SundancePeanoMesher2D.hpp.

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

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

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

Return a ref count pointer to self

Implements Playa::Handleable< MeshSourceBase >.

Definition at line 88 of file SundancePeanoMesher2D.hpp.


Member Data Documentation

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

Definition at line 103 of file SundancePeanoMesher2D.hpp.

Referenced by description(), and fillMesh().

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

Definition at line 105 of file SundancePeanoMesher2D.hpp.

Referenced by description(), and fillMesh().

The X coordinate of the origin point (lower left)

Definition at line 99 of file SundancePeanoMesher2D.hpp.

Referenced by description(), and fillMesh().

The Y coordinate of the origin point (lower left)

Definition at line 101 of file SundancePeanoMesher2D.hpp.

Referenced by description(), and fillMesh().

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

Definition at line 107 of file SundancePeanoMesher2D.hpp.

Referenced by description(), and fillMesh().

Site Contact