#include <algorithm>
#include <cassert>
#include <numeric>
#include <utility>
#include <vector>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/cuthill_mckee_ordering.hpp>
#include <boost/graph/graph_utility.hpp>
#include <boost/graph/king_ordering.hpp>
#include "vulpes/datastructure/crs_map.hpp"
Go to the source code of this file.
|
| template<typename T> |
| std::vector< T > | vulpes::dofs::internal::nodeDegrees (const std::vector< T > &ind, const std::vector< T > &ptr, T num_rows) |
| | Find the degree of each node (matrix row) in a graph represented by a sparse CSR or CSC matrix.
|
| template<typename T> |
| Permutation< T > | vulpes::dofs::computeReverseCuthillMckeeOrdering (const datastructure::CrsMap< T, T > &sparsity_pattern, bool reversed) |
| | Returns the permutation array that orders a sparse CSR matrix in Reverse-Cuthill McKee ordering.
|
| template<typename T> |
| void | vulpes::dofs::internal::createGraph (const datastructure::CrsMap< T, T > &sparsity_pattern, boosttypes::Graph &graph, boosttypes::GraphDegree &graph_degree) |
| template<typename T> |
| Permutation< T > | vulpes::dofs::computeBoostKingOrdering (const datastructure::CrsMap< T, T > &sparsity_pattern, bool reversed_numbering) |
| | Returns the permutation array that orders a sparse CSR matrix in King ordering as implemented by boost.
|
| template<typename T> |
| Permutation< T > | vulpes::dofs::computeBoostCuthillMckeeOrdering (const datastructure::CrsMap< T, T > &sparsity_pattern, bool reversed_numbering) |
| | Returns the permutation array that orders a sparse CSR matrix in Reverse-Cuthill McKee ordering as implemented by boost.
|