|
| MeshCells (Mesh &mesh) |
| MeshCells constructor. More...
|
|
index_t | nb_vertices (index_t c) const |
| Gets the number of vertices of a cell. More...
|
|
index_t | vertex (index_t c, index_t lv) const |
| Gets a vertex of a cell by local vertex index. More...
|
|
void | set_vertex (index_t c, index_t lv, index_t v) |
| Sets a vertex of a cell by local vertex index. More...
|
|
index_t | adjacent (index_t c, index_t lf) const |
| Gets a cell adjacent to another one by local facet index. More...
|
|
void | set_adjacent (index_t c, index_t lf, index_t c2) |
| Sets a cell adjacent to another one by local facet index. More...
|
|
index_t | facet_nb_vertices (index_t c, index_t lf) const |
| Gets the number of vertices in a cell facet. More...
|
|
index_t | facet_vertex (index_t c, index_t lf, index_t lv) const |
| Gets a vertex of a cell by local facet index and local vertex index in the facet. More...
|
|
index_t | facet_corner (index_t c, index_t lf, index_t lc) const |
| Gets a corner of a cell by local facet index and local corner index in the facet. More...
|
|
index_t | edge_vertex (index_t c, index_t le, index_t lv) const |
| Gets a cell vertex by local edge index and local vertex index in the edge. More...
|
|
index_t | edge_adjacent_facet (index_t c, index_t le, index_t lf) const |
| Gets a cell local facet index by local edge index and local facet index in the edge. More...
|
|
index_range | corners (index_t c) const |
| Gets the corners of a cell. More...
|
|
void | clear (bool keep_attributes=true, bool keep_memory=false) override |
| Removes all the elements and attributes. More...
|
|
void | delete_elements (vector< index_t > &to_delete, bool remove_isolated_vertices=true) override |
| Deletes a set of elements. More...
|
|
void | permute_elements (vector< index_t > &permutation) override |
| Applies a permutation to the elements and their attributes. More...
|
|
index_t | create_cells (index_t nb_cells, MeshCellType type) |
| Creates a contiguous chunk of cells of the same type. More...
|
|
index_t | create_tets (index_t nb_tets) |
| Creates a contiguous chunk of tetrahedra. More...
|
|
index_t | create_hexes (index_t nb_hexes) |
| Creates a contiguous chunk of hexahedra. More...
|
|
index_t | create_prisms (index_t nb_prisms) |
| Creates a contiguous chunk of prisms. More...
|
|
index_t | create_pyramids (index_t nb_pyramids) |
| Creates a contiguous chunk of pyramids. More...
|
|
index_t | create_tet (index_t v1, index_t v2, index_t v3, index_t v4, index_t adj1=NO_CELL, index_t adj2=NO_CELL, index_t adj3=NO_CELL, index_t adj4=NO_CELL) |
| Creates a tetrahedron. More...
|
|
index_t | create_hex (index_t v1, index_t v2, index_t v3, index_t v4, index_t v5, index_t v6, index_t v7, index_t v8, index_t adj1=NO_CELL, index_t adj2=NO_CELL, index_t adj3=NO_CELL, index_t adj4=NO_CELL, index_t adj5=NO_CELL, index_t adj6=NO_CELL) |
| Creates an hexahedron. More...
|
|
index_t | create_prism (index_t v1, index_t v2, index_t v3, index_t v4, index_t v5, index_t v6, index_t adj1=NO_CELL, index_t adj2=NO_CELL, index_t adj3=NO_CELL, index_t adj4=NO_CELL, index_t adj5=NO_CELL) |
| Creates a prism. More...
|
|
index_t | create_pyramid (index_t v1, index_t v2, index_t v3, index_t v4, index_t v5, index_t adj1=NO_CELL, index_t adj2=NO_CELL, index_t adj3=NO_CELL, index_t adj4=NO_CELL, index_t adj5=NO_CELL) |
| Creates a pyramid. More...
|
|
index_t | create_connector (index_t v1, index_t v2, index_t v3, index_t v4, index_t adj1=NO_CELL, index_t adj2=NO_CELL, index_t adj3=NO_CELL) |
| Creates a connector. More...
|
|
void | connect (bool remove_trivial_slivers=true, bool verbose_if_OK=false) |
| Connects the cells. More...
|
|
void | compute_borders () |
| Replaces the surfacic part of this mesh with the borders of the volumetric part.
|
|
void | compute_borders (Attribute< index_t > &facet_cell) |
| Replaces the surfacic part of this mesh with the borders of the volumetric part. More...
|
|
void | assign_tet_mesh (coord_index_t dim, vector< double > &vertices, vector< index_t > &tets, bool steal_args) |
| Copies a tetrahedron mesh into this Mesh. More...
|
|
void | assign_tet_mesh (vector< index_t > &tets, bool steal_args) |
| Copies a tetrahedron mesh into this Mesh. More...
|
|
void | pop () override |
| Removes the last element.
|
|
index_t | tet_adjacent (index_t t, index_t lf) const |
|
index_t | find_tet_adjacent (index_t t, index_t t2) const |
|
index_t | tet_vertex (index_t t, index_t lv) const |
|
index_t | find_tet_vertex (index_t t, index_t v) const |
|
index_t | tet_facet_vertex (index_t t, index_t lf, index_t lv) const |
| Gets a vertex of a tetrahedron by local facet index and local vertex index in facet. More...
|
|
index_t | find_tet_facet (index_t t, index_t v1, index_t v2, index_t v3) const |
| Finds the local index of a facet in a tetrahedron by the global indices of its vertices. More...
|
|
| MeshCellsStore (Mesh &mesh) |
|
bool | are_simplices () const |
| Tests whether all the cells are tetrahedra. More...
|
|
MeshCellType | type (index_t c) const |
| Gets the type of a cell. More...
|
|
const CellDescriptor & | descriptor (index_t c) const |
| Gets the descriptor of a cell. More...
|
|
index_t | nb_corners (index_t c) const |
| Gets the number of corners of a cell. More...
|
|
index_t | corners_begin (index_t c) const |
| Gets the first element for iterating over the corners of a cell. More...
|
|
index_t | corners_end (index_t c) const |
| Gets the upper limit for iterating over the corners of a cell. More...
|
|
index_t | corner (index_t c, index_t lv) const |
| Gets a corner of a cell by local vertex index. More...
|
|
index_t | nb_facets (index_t c) const |
| Gets the number of facets of a cell. More...
|
|
index_t | facets_begin (index_t c) const |
| Gets the first element for iterating over the facets of a cell. More...
|
|
index_t | facets_end (index_t c) const |
| Gets the upper limit for iterating over the facets of a cell. More...
|
|
index_t | facet (index_t c, index_t lf) const |
| Gets a facet of a cell by local facet index. More...
|
|
index_t | nb_edges (index_t c) const |
| Gets the number of edges in a cell. More...
|
|
| MeshSubElementsStore (Mesh &mesh) |
| Constructs a new MeshSubElementStore. More...
|
|
virtual | ~MeshSubElementsStore () |
| MeshElementStore destructor.
|
|
index_t | nb () const |
| Gets the number of (sub-)elements. More...
|
|
AttributesManager & | attributes () const |
| Gets the attributes manager. More...
|
|
index_as_iterator | begin () const |
| Used by range-based for. More...
|
|
index_as_iterator | end () const |
| Used by range-based for. More...
|
|
|
void | is_not_simplicial () |
| Indicates that the stored elements are no longer only tetrahedra. More...
|
|
bool | facets_match (index_t c1, index_t f1, index_t c2, index_t f2) const |
| Tests whether two cell facets can be connected. More...
|
|
index_t | find_cell_vertex (index_t c, index_t v) const |
| Finds the local index of a vertex in a cell. More...
|
|
index_t | find_cell_facet (index_t c1, index_t c2, index_t f2) const |
| Finds the local index of a facet in a cell that can be connected to a facet of another cell. More...
|
|
bool | triangular_facet_matches_quad_facet (index_t c1, index_t lf1, index_t c2, index_t lf2) const |
| Tests whether a triangular facet matches a quad facet. More...
|
|
bool | triangular_facets_have_common_edge (index_t c1, index_t f1, index_t c2, index_t f2, index_t &e1, index_t &e2) const |
| Tests whether two triangular cell facets have a common edge. More...
|
|
bool | create_connector (index_t c1, index_t lf1, const std::vector< std::pair< index_t, index_t > > &matches) |
| Creates a connector between a quadrandular facet and two triangular facets. More...
|
|
void | connect_tets () |
| Optimized implementation of connect() used when the mesh is simplicial.
|
|
void | clear_store (bool keep_attributes, bool keep_memory=false) override |
| Removes all the elements and attributes. More...
|
|
void | resize_store (index_t new_size) override |
| Resizes this MeshSubElementsStore. More...
|
|
index_t | create_sub_element (MeshCellType type) |
|
index_t | create_sub_elements (index_t nb, MeshCellType type) |
|
void | copy (const MeshCellsStore &rhs, bool copy_attributes=true) |
|
void | reserve_store (index_t nb_to_reserve) |
| Reserves space for new elements. More...
|
|
index_t | create_sub_elements (index_t nb) |
| Creates a contiguous chunk of attributes for sub-elements. More...
|
|
index_t | create_sub_element () |
| Creates attributes for a sub-element. More...
|
|
void | adjust_store () |
| Makes the size of the store tightly match the number of the elements. More...
|
|
void | copy (const MeshSubElementsStore &rhs, bool copy_attributes=true) |
| Copies a MeshSubElementsStore into this one. More...
|
|
The cells of a mesh.
Definition at line 1927 of file mesh.h.