PaStiX Handbook  6.3.2
graph.c File Reference
#include "common.h"
#include "graph/graph.h"

Go to the source code of this file.

Functions

Graph basic subroutines
void graphInitEmpty (pastix_graph_t *graph, PASTIX_Comm comm)
 Initialize an empty graph. More...
 
void graphExit (pastix_graph_t *graph)
 Free the content of the graph structure. More...
 
void graphBase (pastix_graph_t *graph, pastix_int_t baseval)
 Rebase the graph to the given value. More...
 
Graph manipulation subroutines
int graphCopy (pastix_graph_t *graphdst, const pastix_graph_t *graphsrc)
 This routine copy a given ordering in a new one. More...
 
int graphScatterInPlace (pastix_graph_t *graph, PASTIX_Comm comm)
 This routine scatter a graph from node root to the other nodes. More...
 
int graphGatherInPlace (pastix_graph_t *graph)
 This routine gather a distributed graph on each node in place. More...
 
void graphSort (pastix_graph_t *graph)
 This routine sortes the subarray of edges of each vertex. More...
 
int graphSymmetrize (pastix_graph_t *graph)
 Symmetrize a given graph. More...
 
int graphUpdateComputedFields (pastix_graph_t *graph)
 Update dofs, nnz, nnzexp, gnnz, n, nexp, gN of a given graph. More...
 
int graphSpm2Graph (pastix_graph_t *graph, const spmatrix_t *spm)
 This routine build a graph thanks to an spm;. More...
 
pastix_int_tgraphGetWeights (const pastix_graph_t *graph)
 Build the vertex weight array out of the dof array. More...
 

Detailed Description

PaStiX graph structure routines

Version
6.3.2
Author
Xavier Lacoste
Pierre Ramet
Mathieu Faverge
Tony Delarue
Date
2023-12-07

Definition in file graph.c.