ScalES-PPM
Private Member Functions | List of all members
ppm_graph_csr::build_graph Interface Reference

construct graph from rectilinear or adjacency matrix More...

Private Member Functions

subroutine graph_csr_from_rect_i4 (csr, rect)
 
subroutine graph_csr_from_adj_matrix_i4 (csr, adj, assert_undirected, node_offset)
 Construct CSR graph object from adjacency matrix. More...
 

Detailed Description

construct graph from rectilinear or adjacency matrix

Member Function/Subroutine Documentation

◆ graph_csr_from_adj_matrix_i4()

subroutine ppm_graph_csr::build_graph::graph_csr_from_adj_matrix_i4 ( type(graph_csr), intent(inout)  csr,
logical, dimension(:, :), intent(in)  adj,
logical, intent(in), optional  assert_undirected,
integer, intent(in), optional  node_offset 
)
private

Construct CSR graph object from adjacency matrix.

Parameters
csrgraph representation will be written to this argument
adjfor each edge from node u to node v, adj(v, u) must be true
assert_undirectedif given and .true., check symmetry of adj
node_offsetenter all node references with a bias of node_offset, defaults to 1

The documentation for this interface was generated from the following file:

Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.