| FEAT 3
    Finite Element Analysis Toolbox | 
Cuthill McKee implementation. More...
#include <cuthill_mckee.hpp>
| Public Types | |
| enum class | RootType { standard = 0 , minimum_degree = 1 , maximum_degree = 2 } | 
| Root type enumeration.  More... | |
| enum class | SortType { standard = 0 , asc = 1 , desc = 2 } | 
| Sort type enumeration.  More... | |
| Static Public Member Functions | |
| static Permutation | compute (const Graph &graph, bool reverse=false, CuthillMcKee::RootType R_type=RootType::standard, CuthillMcKee::SortType s_type=SortType::standard) | 
| Cuthill-McKee permutation computation function.  More... | |
| static Permutation | compute (std::vector< Index > &layers, const Graph &graph, bool reverse=false, CuthillMcKee::RootType r_type=RootType::standard, CuthillMcKee::SortType t_type=SortType::standard) | 
| Cuthill-McKee permutation computation function.  More... | |
Cuthill McKee implementation.
Definition at line 26 of file cuthill_mckee.hpp.
| 
 | strong | 
Root type enumeration.
This enumeration specifies how the root node of the Cuthill-McKee algorithm is chosen.
Definition at line 35 of file cuthill_mckee.hpp.
| 
 | strong | 
Sort type enumeration.
This enumeration specifies the order, that is used to arrange the nodes of each level.
Definition at line 64 of file cuthill_mckee.hpp.
| 
 | static | 
Cuthill-McKee permutation computation function.
This function creates a Cuthill-McKee permutation of the given graph.
| [in] | graph | The transient graph that the permutation is calculated for. | 
| [in] | reverse | This bool determines, if the reverse Cuthill-McKee permutation should be calculated. If true, then the reversed permutation is used. | 
| [in] | RootType::type | This parameter determines the way, the root nodes are chosen. | 
| [in] | SortType::type | This parameter determines, which sorting is used in each level of the Cuthill-McKee algorithm. | 
Definition at line 15 of file cuthill_mckee.cpp.
References compute().
| 
 | static | 
Cuthill-McKee permutation computation function.
This function creates a Cuthill-McKee permutation of the given graph.
| [in] | graph | The transient graph that the permutation is calculated for. | 
| [in] | reverse | This bool determines, if the reverse Cuthill-McKee permutation should be calculated. If true, then the reversed permutation is used. | 
| [in] | RootType::type | This parameter determines the way, the root nodes are chosen. | 
| [in] | SortType::type | This parameter determines, which sorting is used in each level of the Cuthill-McKee algorithm. | 
Definition at line 25 of file cuthill_mckee.cpp.
References asc, FEAT::Adjacency::Permutation::calc_swap_from_perm(), FEAT::Adjacency::Graph::degree(), desc, FEAT::Adjacency::Graph::get_domain_ptr(), FEAT::Adjacency::Graph::get_image_idx(), FEAT::Adjacency::Permutation::get_perm_pos(), maximum_degree, minimum_degree, standard, XABORTM, and XASSERTM.
Referenced by compute(), and FEAT::Geometry::MeshPermutation< Shape_ >::create_cmk().