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


Member Data Documentation

Definition at line 83 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Definition at line 85 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Definition at line 87 of file SundancePartitionedLineMesher.hpp.

Referenced by description(), and fillMesh().

Site Contact