The MeshReaderRF class provides functions to read a RF mesh file.
More...
#include <mesh_reader.hpp>
The MeshReaderRF class provides functions to read a RF mesh file.
◆ MeshReaderRF()
| MeshReaderRF::MeshReaderRF |
( |
std::string |
file_name | ) |
|
class to read the cells and vertices in a file
Constructor for mesh reader
- Parameters
-
| file_name | name of the file name, needs to include the full path |
◆ ~MeshReaderRF()
| HArDCore3D::MeshReaderRF::~MeshReaderRF |
( |
| ) |
|
|
inline |
Reads the file into the specified containers
- Parameters
-
| vertices | reference to a vector to hold the vertices coordinates |
| faces | reference to a vector to hold the cell indexes |
| cells | reference to a vector to hold the cell centers coordinates |
◆ read_ele_file()
| void MeshReaderRF::read_ele_file |
( |
std::vector< std::vector< std::vector< std::size_t > > > & |
cells | ) |
|
◆ read_node_file()
| void MeshReaderRF::read_node_file |
( |
std::vector< std::vector< double > > & |
vertices | ) |
|
◆ read_partition_file()
| void MeshReaderRF::read_partition_file |
( |
std::vector< std::vector< std::size_t > > & |
partition | ) |
|
The documentation for this class was generated from the following files: