#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.5.0/src/axom/quest/stl/PSTLReader.hpp>
◆ PSTLReader()
axom::quest::PSTLReader::PSTLReader |
( |
MPI_Comm |
comm | ) |
|
Constructor.
- Parameters
-
[in] | comm | user-supplied MPI communicator. |
◆ ~PSTLReader()
virtual axom::quest::PSTLReader::~PSTLReader |
( |
| ) |
|
|
virtual |
◆ read()
virtual int axom::quest::PSTLReader::read |
( |
| ) |
|
|
finaloverridevirtual |
Reads in an STL file to all ranks in the associated communicator.
- Note
- Rank 0 reads in the STL mesh file and broadcasts the data the rest of the ranks.
- Returns
- status set to zero on success; set to a non-zero value otherwise.
Reimplemented from axom::quest::STLReader.
◆ setFileName()
void axom::quest::STLReader::setFileName |
( |
const std::string & |
fileName | ) |
|
|
inlineinherited |
◆ getNumNodes()
int axom::quest::STLReader::getNumNodes |
( |
| ) |
const |
|
inlineinherited |
◆ getNumFaces()
int axom::quest::STLReader::getNumFaces |
( |
| ) |
const |
|
inlineinherited |
◆ clear()
void axom::quest::STLReader::clear |
( |
| ) |
|
|
inherited |
◆ getMesh()
Stores the STL data in the supplied unstructured mesh object.
- Parameters
-
[in,out] | mesh | pointer to the unstructured mesh. |
- Precondition
- mesh != nullptr.
Referenced by axom::quest::STLReader::getNumFaces().
◆ m_fileName
std::string axom::quest::STLReader::m_fileName |
|
protectedinherited |
◆ m_num_nodes
◆ m_num_faces
◆ m_nodes
std::vector<double> axom::quest::STLReader::m_nodes |
|
protectedinherited |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.5.0/src/axom/quest/stl/PSTLReader.hpp