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 47 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 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.


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 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]

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.


Member Data Documentation

offset (length) of the grid in the X direction

Definition at line 152 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

offset (length) of the grid in the Y direction

Definition at line 154 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

offset (length) of the grid in the Z direction

Definition at line 156 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

X coordinate of the origin point (lower left)

Definition at line 146 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

Y coordinate of the origin point (lower left)

Definition at line 148 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

Z coordinate of the origin point (lower left)

Definition at line 150 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

On the coarse level the resolution on the X axis

Definition at line 158 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

On the coarse level the resolution on the Y axis

Definition at line 160 of file SundanceHNMesher3D.hpp.

Referenced by description(), and fillMesh().

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.

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]

refinement class

Definition at line 165 of file SundanceHNMesher3D.hpp.

Referenced by fillMesh().

Site Contact