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

List of all members.

Public Member Functions

 PartitionedLineMesher (double ax, double bx, int nx, const MeshType &meshType, int verbosity=0, const MPIComm &comm=MPIComm::world())
 PartitionedLineMesher (const ParameterList &params)
virtual ~PartitionedLineMesher ()
virtual std::string description () const
virtual RCP< MeshSourceBasegetRcp ()

Private Member Functions

virtual Mesh fillMesh () const

Private Attributes

double ax_
double bx_
int nx_

Detailed Description

PartitionedLineMesher meshes the one-dimensional interval $\left[a_x, b_x\right]$ with $n_x$ elements per processor.

Definition at line 57 of file SundancePartitionedLineMesher.hpp.


Constructor & Destructor Documentation

Sundance::PartitionedLineMesher::PartitionedLineMesher ( double  ax,
double  bx,
int  nx,
const MeshType meshType,
int  verbosity = 0,
const MPIComm comm = MPIComm::world() 
) [inline]

Set up a mesher for the interval $\left[a_x, b_x\right]$ with $n_x$ elements per processor.

Definition at line 64 of file SundancePartitionedLineMesher.hpp.

PartitionedLineMesher::PartitionedLineMesher ( const ParameterList &  params)

Create a line mesher from a ParameterList

Definition at line 54 of file SundancePartitionedLineMesher.cpp.

Definition at line 76 of file SundancePartitionedLineMesher.hpp.


Member Function Documentation

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

Print a short descriptive std::string

Reimplemented from Sundance::MeshSourceBase.

Definition at line 79 of file SundancePartitionedLineMesher.hpp.

References ax_, bx_, nx_, and Sundance::toString().

Mesh PartitionedLineMesher::fillMesh ( ) const [private, virtual]
virtual RCP<MeshSourceBase> Sundance::PartitionedLineMesher::getRcp ( ) [inline, virtual]

Return a ref count pointer to self

Implements Playa::Handleable< MeshSourceBase >.

Definition at line 86 of file SundancePartitionedLineMesher.hpp.


Member Data Documentation

Definition at line 94 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Definition at line 96 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Definition at line 98 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Site Contact