
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 ¶ms) | |
| virtual | ~PeanoMesher2D () | 
| virtual std::string | description () const | 
| virtual RCP< MeshSourceBase > | getRcp () | 
Protected Member Functions | |
| virtual Mesh | fillMesh () const | 
Private Attributes | |
| double | _position_x | 
| double | _position_y | 
| double | _offset_x | 
| double | _offset_y | 
| double | _resolution | 
Definition at line 49 of file SundancePeanoMesher2D.hpp.
| 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.
| 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] | 
        
The method which all Mesher should have
Implements Sundance::MeshSourceBase.
Definition at line 57 of file SundancePeanoMesher2D.cpp.
References _offset_x, _offset_y, _position_x, _position_y, _resolution, Sundance::MeshSourceBase::createMesh(), and Playa::Handle< PointerType >::ptr().
| 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.
double Sundance::PeanoMesher2D::_offset_x [private]           | 
        
The offset (length) of the grid in the X direction
Definition at line 103 of file SundancePeanoMesher2D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher2D::_offset_y [private]           | 
        
The offset (length) of the grid in the Y direction
Definition at line 105 of file SundancePeanoMesher2D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher2D::_position_x [private]           | 
        
The X coordinate of the origin point (lower left)
Definition at line 99 of file SundancePeanoMesher2D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher2D::_position_y [private]           | 
        
The Y coordinate of the origin point (lower left)
Definition at line 101 of file SundancePeanoMesher2D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher2D::_resolution [private]           | 
        
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().