![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/grid/grid_reordering_internal.h>
Public Member Functions | |
| CheapEdge (const unsigned int n0, const unsigned int n1) | |
| bool | operator< (const CheapEdge &e2) const |
Public Attributes | |
| const unsigned int | node0 |
| const unsigned int | node1 |
During building the connectivity information we don't need all the heavy duty information about edges that we will need later. So we can save memory and time by using a light-weight class for edges. It stores the two vertices, but no direction, so we make the optimization to store the vertex number in sorted order to allow for easier comparison of edge objects.
Definition at line 355 of file grid_reordering_internal.h.
| internal::GridReordering3d::CheapEdge::CheapEdge | ( | const unsigned int | n0, |
| const unsigned int | n1 | ||
| ) |
Constructor. Take the vertex numbers and store them sorted.
Definition at line 891 of file grid_reordering.cc.
| bool internal::GridReordering3d::CheapEdge::operator< | ( | const CheapEdge & | e2 | ) | const |
Need a partial ordering for sorting algorithms
Definition at line 904 of file grid_reordering.cc.
| const unsigned int internal::GridReordering3d::CheapEdge::node0 |
The first node
Definition at line 360 of file grid_reordering_internal.h.
| const unsigned int internal::GridReordering3d::CheapEdge::node1 |
The second node
Definition at line 365 of file grid_reordering_internal.h.
1.8.12