Manage topological relations between cells.
More...
#include <dcell.hpp>
|
| dCell_graph (size_t id, std::vector< size_t > const &map_ids) |
| Constructor for vertex (0-cell) More...
|
|
| dCell_graph (Collection const &, size_t d, size_t id, std::vector< size_t > const &map_ids, std::vector< size_t > const &bd) |
| General constructor. More...
|
|
size_t | get_id () const |
| Return the global index of the cell. More...
|
|
std::vector< size_t > const & | get_map_ids () const |
| Return the id of the charts corresponding to its parametrizations. More...
|
|
std::vector< size_t > const & | get_boundary (size_t dim) const |
| Return the global index of the cell of dimension dim on its boundary. More...
|
|
std::vector< size_t > const & | get_relative_map (size_t dim) const |
| Return the index of the parametrization of the cell of dimension dim on the boundary, corresponding to same chart as the first parametrization of this cell. More...
|
|
size_t | global_to_local (size_t d_boundary, size_t i_b) const |
| Return the index of the i_b d_boundary-cell relative to this cell. More...
|
|
template<size_t dimension>
class Manicore::dCell_graph< dimension >
Manage topological relations between cells.
- Template Parameters
-
dimension | Dimension of the manifold This class should not be used directly but through Mesh instead. |
◆ Collection
template<size_t dimension>
Type to store the topological data of every cell.
◆ dCell_graph() [1/2]
template<size_t dimension>
Constructor for vertex (0-cell)
- Parameters
-
id | Index of the cell being constructed |
map_ids | Id of the charts corresponding to its parametrization |
◆ dCell_graph() [2/2]
template<size_t dimension>
General constructor.
Cannot be used for vertex
- Parameters
-
coll | Collection of all lower dimension cells |
d | Dimension of the cell being constructed |
id | Index of the cell being constructed |
map_ids | Id of the charts corresponding to its parametrization |
bd | List of the global index of the (d-1)-cells on its boundary |
◆ get_boundary()
template<size_t dimension>
Return the global index of the cell of dimension dim on its boundary.
- Parameters
-
dim | Dimension of the boundary cell |
◆ get_id()
template<size_t dimension>
Return the global index of the cell.
◆ get_map_ids()
template<size_t dimension>
Return the id of the charts corresponding to its parametrizations.
◆ get_relative_map()
template<size_t dimension>
Return the index of the parametrization of the cell of dimension dim on the boundary, corresponding to same chart as the first parametrization of this cell.
- Parameters
-
dim | Dimension of the boundary cell |
◆ global_to_local()
template<size_t dimension>
Return the index of the i_b d_boundary-cell relative to this cell.
- Parameters
-
d_boundary | Dimension of the boundary cell |
i_b | Global index of the boundary cell |
The documentation for this class was generated from the following file: