HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
Loading...
Searching...
No Matches
Public Member Functions | List of all members
HArDCore3D::MeshReaderRF Class Reference

The MeshReaderRF class provides functions to read a RF mesh file. More...

#include <mesh_reader.hpp>

Public Member Functions

 MeshReaderRF (std::string file_name)
 class to read the cells and vertices in a file
 
 ~MeshReaderRF ()
 
void read_node_file (std::vector< std::vector< double > > &vertices)
 
void read_ele_file (std::vector< std::vector< std::vector< std::size_t > > > &cells)
 
void read_partition_file (std::vector< std::vector< std::size_t > > &partition)
 

Detailed Description

The MeshReaderRF class provides functions to read a RF mesh file.

Constructor & Destructor Documentation

◆ MeshReaderRF()

MeshReaderRF::MeshReaderRF ( std::string  file_name)

class to read the cells and vertices in a file

Constructor for mesh reader

Parameters
file_namename of the file name, needs to include the full path

◆ ~MeshReaderRF()

HArDCore3D::MeshReaderRF::~MeshReaderRF ( )
inline

Reads the file into the specified containers

Parameters
verticesreference to a vector to hold the vertices coordinates
facesreference to a vector to hold the cell indexes
cellsreference to a vector to hold the cell centers coordinates

Member Function Documentation

◆ 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: