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