Public Member Functions | |
PartitionedLineMesher (double ax, double bx, int nx, const MeshType &meshType, int verbosity=0, const MPIComm &comm=MPIComm::world()) | |
PartitionedLineMesher (const ParameterList ¶ms) | |
virtual | ~PartitionedLineMesher () |
virtual std::string | description () const |
virtual RCP< MeshSourceBase > | getRcp () |
Private Member Functions | |
virtual Mesh | fillMesh () const |
Private Attributes | |
double | ax_ |
double | bx_ |
int | nx_ |
Definition at line 46 of file SundancePartitionedLineMesher.hpp.
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 with
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.
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] |
Implements Sundance::MeshSourceBase.
Definition at line 19 of file SundancePartitionedLineMesher.cpp.
References Sundance::Mesh::addElement(), Sundance::Mesh::addVertex(), ax_, bx_, Sundance::checkForFailures(), Sundance::MeshSourceBase::comm(), Sundance::MeshSourceBase::createMesh(), Sundance::Mesh::freezeTopology(), Sundance::Mesh::mapGIDToLID(), Sundance::MeshSourceBase::myRank(), Sundance::MeshSourceBase::nProc(), nx_, Sundance::reportFailure(), Sundance::Mesh::setLabel(), SUNDANCE_OUT, SUNDANCE_TRACE_MSG, and Playa::ObjectWithVerbosity::verb().
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.
double Sundance::PartitionedLineMesher::ax_ [private] |
Definition at line 83 of file SundancePartitionedLineMesher.hpp.
Referenced by description(), and fillMesh().
double Sundance::PartitionedLineMesher::bx_ [private] |
Definition at line 85 of file SundancePartitionedLineMesher.hpp.
Referenced by description(), and fillMesh().
int Sundance::PartitionedLineMesher::nx_ [private] |
Definition at line 87 of file SundancePartitionedLineMesher.hpp.
Referenced by description(), and fillMesh().