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
mesh_reader.hpp
Go to the documentation of this file.
1// Class to read a RF mesh file
2
3#ifndef MESH_READER_HPP
4#define MESH_READER_HPP
5
6#include <string>
7#include <iostream>
8#include <fstream>
9#include <vector>
10namespace HArDCore3D
11{
12
13 // ----------------------------------------------------------------------------
14 // Class definition
15 // ----------------------------------------------------------------------------
16
19 {
20 public:
26 MeshReaderRF(std::string file_name);
36 void read_node_file(std::vector<std::vector<double>> &vertices);
37
38 void read_ele_file(std::vector<std::vector<std::vector<std::size_t>>> &cells);
39
40 void read_partition_file(std::vector<std::vector<std::size_t>> &partition);
41
42 private:
43 std::string _file_name;
44 };
45
46} // end namespace HArDCore3D
47#endif
The MeshReaderRF class provides functions to read a RF mesh file.
Definition mesh_reader.hpp:19
void read_node_file(std::vector< std::vector< double > > &vertices)
Definition mesh_reader.cpp:8
void read_ele_file(std::vector< std::vector< std::vector< std::size_t > > > &cells)
Definition mesh_reader.cpp:65
void read_partition_file(std::vector< std::vector< std::size_t > > &partition)
Definition mesh_reader.cpp:129
~MeshReaderRF()
Definition mesh_reader.hpp:35
@ Matrix
Definition basis.hpp:67
Definition ddr-magnetostatics.hpp:41