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_ |
PartitionedLineMesher meshes the one-dimensional interval
with
elements per processor.
Definition at line 57 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 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.
| virtual Sundance::PartitionedLineMesher::~PartitionedLineMesher | ( | ) | [inline, virtual] |
Definition at line 76 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 79 of file SundancePartitionedLineMesher.hpp.
References ax_, bx_, nx_, and Sundance::toString().
| Mesh PartitionedLineMesher::fillMesh | ( | ) | const [private, virtual] |
Implements Sundance::MeshSourceBase.
Definition at line 61 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 86 of file SundancePartitionedLineMesher.hpp.
double Sundance::PartitionedLineMesher::ax_ [private] |
Definition at line 94 of file SundancePartitionedLineMesher.hpp.
Referenced by description(), and fillMesh().
double Sundance::PartitionedLineMesher::bx_ [private] |
Definition at line 96 of file SundancePartitionedLineMesher.hpp.
Referenced by description(), and fillMesh().
int Sundance::PartitionedLineMesher::nx_ [private] |
Definition at line 98 of file SundancePartitionedLineMesher.hpp.
Referenced by description(), and fillMesh().