Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
Sundance::HNMesher3D Class Reference
Inheritance diagram for Sundance::HNMesher3D:
Sundance::MeshSourceBase Playa::Handleable< MeshSourceBase > Playa::Printable Sundance::Noncopyable Playa::ObjectWithVerbosity

List of all members.

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 &params)
virtual ~HNMesher3D ()
virtual std::string description () const
virtual RCP< MeshSourceBasegetRcp ()

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())

Detailed Description

Definition at line 58 of file SundanceHNMesher3D.hpp.


Constructor & Destructor Documentation

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 62 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 77 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 93 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 109 of file SundanceHNMesher3D.hpp.

HNMesher3D::HNMesher3D ( const ParameterList &  params)

Create a rectangle mesher from a ParameterList

Definition at line 55 of file SundanceHNMesher3D.cpp.

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

Definition at line 129 of file SundanceHNMesher3D.hpp.


Member Function Documentation

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

Print a short descriptive std::string

Reimplemented from Sundance::MeshSourceBase.

Definition at line 132 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]
virtual RCP<MeshSourceBase> Sundance::HNMesher3D::getRcp ( ) [inline, virtual]

Return a ref count pointer to self

Implements Playa::Handleable< MeshSourceBase >.

Definition at line 146 of file SundanceHNMesher3D.hpp.


Member Data Documentation

offset (length) of the grid in the X direction

Definition at line 163 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

offset (length) of the grid in the Y direction

Definition at line 165 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

offset (length) of the grid in the Z direction

Definition at line 167 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

X coordinate of the origin point (lower left)

Definition at line 157 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

Y coordinate of the origin point (lower left)

Definition at line 159 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

Z coordinate of the origin point (lower left)

Definition at line 161 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

On the coarse level the resolution on the X axis

Definition at line 169 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

On the coarse level the resolution on the Y axis

Definition at line 171 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

On the coarse level the resolution on the Z axis

Definition at line 173 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 186 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 183 of file SundanceHNMesher3D.hpp.

mesh domain (which must not coincide with the whole mesh)

Definition at line 179 of file SundanceHNMesher3D.hpp.

Referenced by fillMesh().

const RefinementClass Sundance::HNMesher3D::refineClass_ [private]

refinement class

Definition at line 176 of file SundanceHNMesher3D.hpp.

Referenced by fillMesh().

Site Contact