Replace typedef by wrappers of base grid elements
Support for edge iteration
intersection
even if test polytope p
is completely inside. Must test the boundary for intersection. Test
construct from vertex morphism
end()
?
consecutive_tag
of underlying element_handle
does not induce the Right Thing.
element_type_tag
but dim/codim are given Similar classes could be designed for cell-vertex and cell-edge incidences.
could offer the local outward normal vector at split vertices as an aid to defining new coordinates.
could somehow automatically inherit all geometric stuff from GEOM ... but only if no changes to coordinates are allowed!
hash_table<element_handle,T>
instead of hash_table<Element,T>
. However, in some cases it is not possible to implement equality testing of the underlying elements without referring to the grid.
grid_function_view
GRID::CellOnVertexIterator
.
coord_type
has a run-time dimension only. Test
Make it independent of element being a vertex type (using map_element_iter_name<> like in partial_grid_function)
Can temporary vertex objects be avoided?
Rename to element_vertex_set ?
GRID
EnlargeGrid()
, EnlargeGridV()
can be defined fully generically in terms of EnlargeGridVC()
Could use partial specialization based on the dimension of Grid to remove the syntactic 2D dependency in the name.
Test
Change boundary_range_nd to select boundary_range_2d in the 2D case
IsOnBd
which is a predicate deciding whether a Facet is on the boundary. Then one could handle also internal boundaries, for example between two partitions. Test