HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
#include <Mesh2D.hpp>
Public Member Functions | |
Mesh () | |
~Mesh () | |
void | set_name (std::string name) |
set the name of the mesh | |
std::string | get_name () |
getter for the mesh name | |
double | h_max () const |
< max diameter of cells | |
std::size_t | dim () const |
dimension of the mesh | |
std::size_t | n_vertices () const |
number of vertices in the mesh. | |
std::size_t | n_edges () const |
number of edges in the mesh. | |
std::size_t | n_faces () const |
number of faces in the mesh. | |
std::size_t | n_cells () const |
number of cells in the mesh. | |
std::size_t | n_b_vertices () const |
number of boundary vertices in the mesh. | |
std::size_t | n_b_edges () const |
number of boundary edges in the mesh. | |
std::size_t | n_b_faces () const |
number of boundary faces in the mesh. | |
std::size_t | n_b_cells () const |
number of boundary cells in the mesh. | |
std::size_t | n_i_vertices () const |
number of internal vertices in the mesh. | |
std::size_t | n_i_edges () const |
number of internal edges in the mesh. | |
std::size_t | n_i_faces () const |
number of internal faces in the mesh. | |
std::size_t | n_i_cells () const |
number of internal cells in the mesh. | |
std::vector< Vertex * > | get_vertices () const |
lists the vertices in the mesh. | |
std::vector< Edge * > | get_edges () const |
lists the edges in the mesh. | |
std::vector< Face * > | get_faces () const |
lists the faces in the mesh. | |
std::vector< Cell * > | get_cells () const |
lists the cells in the mesh. | |
std::vector< Vertex * > | get_b_vertices () const |
lists the boundary vertices in the mesh. | |
std::vector< Edge * > | get_b_edges () const |
lists the boundary edges in the mesh. | |
std::vector< Face * > | get_b_faces () const |
lists the boundary faces in the mesh. | |
std::vector< Cell * > | get_b_cells () const |
lists the boundary cells in the mesh. | |
std::vector< Vertex * > | get_i_vertices () const |
lists the internal vertices in the mesh. | |
std::vector< Edge * > | get_i_edges () const |
lists the internal edges in the mesh. | |
std::vector< Face * > | get_i_faces () const |
lists the internal faces in the mesh. | |
std::vector< Cell * > | get_i_cells () const |
lists the internal cells in the mesh. | |
void | add_vertex (Vertex *vertex) |
void | add_edge (Edge *edge) |
void | add_face (Face *face) |
void | add_cell (Cell *cell) |
void | add_b_vertex (Vertex *vertex) |
void | add_b_edge (Edge *edge) |
void | add_b_face (Face *face) |
void | add_b_cell (Cell *cell) |
void | add_i_vertex (Vertex *vertex) |
void | add_i_edge (Edge *edge) |
void | add_i_face (Face *face) |
void | add_i_cell (Cell *cell) |
Vertex * | vertex (std::size_t index) const |
get a constant pointer to a vertex using its global index | |
Edge * | edge (std::size_t index) const |
get a constant pointer to a edge using its global index | |
Face * | face (std::size_t index) const |
get a constant pointer to a face using its global index | |
Cell * | cell (std::size_t index) const |
get a constant pointer to a cell using its global index | |
Vertex * | b_vertex (std::size_t index) const |
get a constant pointer to a boundary vertex using an index | |
Edge * | b_edge (std::size_t index) const |
get a constant pointer to boundary a edge using an index | |
Face * | b_face (std::size_t index) const |
get a constant pointer to boundary a face using an index | |
Cell * | b_cell (std::size_t index) const |
get a constant pointer to boundary a cell using an index | |
Vertex * | i_vertex (std::size_t index) const |
get a constant pointer to an internal vertex using an index | |
Edge * | i_edge (std::size_t index) const |
get a constant pointer to an internal edge using an index | |
Face * | i_face (std::size_t index) const |
get a constant pointer to an internal face using an index | |
Cell * | i_cell (std::size_t index) const |
get a constant pointer to an internal cell using an index | |
std::vector< double > | regularity () |
void | renum (const char B, const std::vector< size_t > new_to_old) |
size_t | find_cell (const VectorRd x) const |
< returns the index of the cell containing the point x | |
void | plot_simplices (std::ofstream *out) |
void | plot_mesh (std::ofstream *out) |