Sundance::PartitionedLineMesher Class Reference

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

Inheritance diagram for Sundance::PartitionedLineMesher:

Sundance::MeshSourceBase Playa::Handleable< MeshSourceBase > Playa::Printable Sundance::Noncopyable Sundance::ObjectWithClassVerbosity< MeshSourceBase > Playa::ObjectWithVerbosity

List of all members.

Public Member Functions

 PartitionedLineMesher (double ax, double bx, int nx, const MeshType &meshType, const MPIComm &comm=MPIComm::world())
 Set up a mesher for the interval $\left[a_x, b_x\right]$ with $n_x$ elements per processor.
 PartitionedLineMesher (const ParameterList &params)
 Create a line mesher from a ParameterList.
virtual ~PartitionedLineMesher ()
virtual std::string description () const
 Print a short descriptive std::string.
virtual RCP< MeshSourceBasegetRcp ()
 Return a ref count pointer to self.

Private Member Functions

virtual Mesh fillMesh () const
 Fill a mesh object with data from the source.

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 46 of file SundancePartitionedLineMesher.hpp.


Constructor & Destructor Documentation

Sundance::PartitionedLineMesher::PartitionedLineMesher ( double  ax,
double  bx,
int  nx,
const MeshType meshType,
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 53 of file SundancePartitionedLineMesher.hpp.

PartitionedLineMesher::PartitionedLineMesher ( const ParameterList &  params  ) 

Create a line mesher from a ParameterList.

Definition at line 12 of file SundancePartitionedLineMesher.cpp.

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

Definition at line 64 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 67 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 74 of file SundancePartitionedLineMesher.hpp.


Member Data Documentation

Definition at line 82 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Definition at line 84 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Definition at line 86 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Site Contact