
Public Member Functions | |
| HNMesher2D (double position_x, double position_y, double offset_x, double offset_y, int resolution_x, int resolution_y, const MeshType &meshType, const MPIComm &comm=MPIComm::world()) | |
| HNMesher2D (double position_x, double position_y, double offset_x, double offset_y, int resolution_x, int resolution_y, const MeshType &meshType, const RefinementClass &refineClass, const MPIComm &comm=MPIComm::world()) | |
| HNMesher2D (double position_x, double position_y, double offset_x, double offset_y, int resolution_x, int resolution_y, const MeshType &meshType, const MeshDomainDef &meshDomain, const MPIComm &comm=MPIComm::world()) | |
| HNMesher2D (double position_x, double position_y, double offset_x, double offset_y, int resolution_x, int resolution_y, const MeshType &meshType, const RefinementClass &refineClass, const MeshDomainDef &meshDomain, const MPIComm &comm=MPIComm::world()) | |
| HNMesher2D (const ParameterList ¶ms) | |
| virtual | ~HNMesher2D () | 
| 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 | 
| int | _resolution_x | 
| int | _resolution_y | 
| const RefinementClass | refineClass_ | 
| const MeshDomainDef | meshDomain_ | 
Static Private Attributes | |
| static const RefinementClass | dummyRefineClass_ = (new DummyNoRefineClass()) | 
| static const MeshDomainDef | dummyMeshDomain_ = (new DummyAllMeshDomain()) | 
Definition at line 47 of file SundanceHNMesher2D.hpp.
| Sundance::HNMesher2D::HNMesher2D | ( | double | position_x, | |
| double | position_y, | |||
| double | offset_x, | |||
| double | offset_y, | |||
| int | resolution_x, | |||
| int | resolution_y, | |||
| const MeshType & | meshType, | |||
| const MPIComm & |  comm = MPIComm::world() | |||
| ) |  [inline] | 
        
Definition at line 51 of file SundanceHNMesher2D.hpp.
| Sundance::HNMesher2D::HNMesher2D | ( | double | position_x, | |
| double | position_y, | |||
| double | offset_x, | |||
| double | offset_y, | |||
| int | resolution_x, | |||
| int | resolution_y, | |||
| const MeshType & | meshType, | |||
| const RefinementClass & | refineClass, | |||
| const MPIComm & |  comm = MPIComm::world() | |||
| ) |  [inline] | 
        
Definition at line 66 of file SundanceHNMesher2D.hpp.
| Sundance::HNMesher2D::HNMesher2D | ( | double | position_x, | |
| double | position_y, | |||
| double | offset_x, | |||
| double | offset_y, | |||
| int | resolution_x, | |||
| int | resolution_y, | |||
| const MeshType & | meshType, | |||
| const MeshDomainDef & | meshDomain, | |||
| const MPIComm & |  comm = MPIComm::world() | |||
| ) |  [inline] | 
        
Definition at line 82 of file SundanceHNMesher2D.hpp.
| Sundance::HNMesher2D::HNMesher2D | ( | double | position_x, | |
| double | position_y, | |||
| double | offset_x, | |||
| double | offset_y, | |||
| int | resolution_x, | |||
| int | resolution_y, | |||
| const MeshType & | meshType, | |||
| const RefinementClass & | refineClass, | |||
| const MeshDomainDef & | meshDomain, | |||
| const MPIComm & |  comm = MPIComm::world() | |||
| ) |  [inline] | 
        
Definition at line 98 of file SundanceHNMesher2D.hpp.
| HNMesher2D::HNMesher2D | ( | const ParameterList & | params | ) | 
Create a rectangle mesher from a ParameterList
Definition at line 44 of file SundanceHNMesher2D.cpp.
| virtual Sundance::HNMesher2D::~HNMesher2D | ( | ) |  [inline, virtual] | 
        
Definition at line 118 of file SundanceHNMesher2D.hpp.
| virtual std::string Sundance::HNMesher2D::description | ( | ) |  const [inline, virtual] | 
        
Print a short descriptive std::string
Reimplemented from Sundance::MeshSourceBase.
Definition at line 121 of file SundanceHNMesher2D.hpp.
References _offset_x, _offset_y, _position_x, _position_y, _resolution_x, _resolution_y, and Sundance::toString().
| Mesh HNMesher2D::fillMesh | ( | ) |  const [protected, virtual] | 
        
The method which all Mesher should have
Implements Sundance::MeshSourceBase.
Definition at line 58 of file SundanceHNMesher2D.cpp.
References _offset_x, _offset_y, _position_x, _position_y, _resolution_x, _resolution_y, Sundance::HNMesh2D::createMesh(), Sundance::MeshSourceBase::createMesh(), meshDomain_, Playa::Handle< PointerType >::ptr(), and refineClass_.
| virtual RCP<MeshSourceBase> Sundance::HNMesher2D::getRcp | ( | ) |  [inline, virtual] | 
        
Return a ref count pointer to self
Implements Playa::Handleable< MeshSourceBase >.
Definition at line 131 of file SundanceHNMesher2D.hpp.
double Sundance::HNMesher2D::_offset_x [private]           | 
        
offset (length) of the grid in the X direction
Definition at line 146 of file SundanceHNMesher2D.hpp.
Referenced by description(), and fillMesh().
double Sundance::HNMesher2D::_offset_y [private]           | 
        
offset (length) of the grid in the Y direction
Definition at line 148 of file SundanceHNMesher2D.hpp.
Referenced by description(), and fillMesh().
double Sundance::HNMesher2D::_position_x [private]           | 
        
X coordinate of the origin point (lower left)
Definition at line 142 of file SundanceHNMesher2D.hpp.
Referenced by description(), and fillMesh().
double Sundance::HNMesher2D::_position_y [private]           | 
        
Y coordinate of the origin point (lower left)
Definition at line 144 of file SundanceHNMesher2D.hpp.
Referenced by description(), and fillMesh().
int Sundance::HNMesher2D::_resolution_x [private]           | 
        
On the coarse level the resolution on the X axis
Definition at line 150 of file SundanceHNMesher2D.hpp.
Referenced by description(), and fillMesh().
int Sundance::HNMesher2D::_resolution_y [private]           | 
        
On the coarse level the resolution on the Y axis
Definition at line 152 of file SundanceHNMesher2D.hpp.
Referenced by description(), and fillMesh().
const MeshDomainDef HNMesher2D::dummyMeshDomain_ = (new DummyAllMeshDomain()) [static, private]           | 
        
static domain class if the user does not provide one
Definition at line 165 of file SundanceHNMesher2D.hpp.
const RefinementClass HNMesher2D::dummyRefineClass_ = (new DummyNoRefineClass()) [static, private]           | 
        
static dummy class if the user does not provide refinement class
Definition at line 162 of file SundanceHNMesher2D.hpp.
const MeshDomainDef Sundance::HNMesher2D::meshDomain_ [private]           | 
        
mesh domain (which must not coincide with the whole mesh)
Definition at line 158 of file SundanceHNMesher2D.hpp.
Referenced by fillMesh().
const RefinementClass Sundance::HNMesher2D::refineClass_ [private]           |