Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
vulpes::dofs::internal Namespace Reference

Functions

template<typename T>
std::vector< T > 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>
void createGraph (const datastructure::CrsMap< T, T > &sparsity_pattern, boosttypes::Graph &graph, boosttypes::GraphDegree &graph_degree)

Function Documentation

◆ createGraph()

template<typename T>
void vulpes::dofs::internal::createGraph ( const datastructure::CrsMap< T, T > & sparsity_pattern,
boosttypes::Graph & graph,
boosttypes::GraphDegree & graph_degree )

◆ nodeDegrees()

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.