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()) | |
PeanoMesher3D (const ParameterList ¶ms) | |
virtual | ~PeanoMesher3D () |
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 | _position_z |
double | _offset_x |
double | _offset_y |
double | _offset_z |
double | _resolution |
Definition at line 49 of file SundancePeanoMesher3D.hpp.
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.
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] |
The method which all Mesher should have
Implements Sundance::MeshSourceBase.
Definition at line 59 of file SundancePeanoMesher3D.cpp.
References _offset_x, _offset_y, _offset_z, _position_x, _position_y, _position_z, _resolution, Sundance::MeshSourceBase::createMesh(), and Playa::Handle< PointerType >::ptr().
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.
double Sundance::PeanoMesher3D::_offset_x [private] |
The offset (length) of the grid in the X direction
Definition at line 109 of file SundancePeanoMesher3D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher3D::_offset_y [private] |
The offset (length) of the grid in the Y direction
Definition at line 111 of file SundancePeanoMesher3D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher3D::_offset_z [private] |
The offset (length) of the grid in the Z direction
Definition at line 113 of file SundancePeanoMesher3D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher3D::_position_x [private] |
The X coordinate of the origin point (lower left)
Definition at line 103 of file SundancePeanoMesher3D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher3D::_position_y [private] |
The Y coordinate of the origin point (lower left)
Definition at line 105 of file SundancePeanoMesher3D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher3D::_position_z [private] |
The Z coordinate of the origin point (lower left)
Definition at line 107 of file SundancePeanoMesher3D.hpp.
Referenced by description(), and fillMesh().
double Sundance::PeanoMesher3D::_resolution [private] |
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().