|
PaStiX Handbook 6.4.0
|
Go to the source code of this file.
Functions | |
Graph basic subroutines | |
| int | graphPrepare (pastix_data_t *pastix_data, const spmatrix_t *spm, pastix_graph_t **graph) |
| This routine initializes the graph. | |
| void | graphBase (pastix_graph_t *graph, pastix_int_t baseval) |
| Rebase the graph to the given value. | |
| void | graphExit (pastix_graph_t *graph) |
| Free the content of the graph structure. | |
| void | graphInitEmpty (pastix_graph_t *graph, PASTIX_Comm comm) |
| Initialize an empty graph. | |
Graph IO subroutines | |
| void | graphLoad (const pastix_data_t *pastix_data, pastix_graph_t *graph) |
| Load a graph from a file. | |
| void | graphSave (pastix_data_t *pastix_data, const pastix_graph_t *graph) |
| Save a graph to file. | |
Graph manipulation subroutines | |
| int | graphCopy (pastix_graph_t *graphdst, const pastix_graph_t *graphsrc) |
| This routine copy a given ordering in a new one. | |
| int | graphSpm2Graph (pastix_graph_t *graph, const spmatrix_t *spm) |
| This routine build a graph thanks to an spm;. | |
| void | graphSort (pastix_graph_t *graph) |
| This routine sortes the subarray of edges of each vertex. | |
| void | graphNoDiag (pastix_graph_t *graph) |
| This routine removes the diagonal edges from a centralized graph. | |
| int | graphSymmetrize (pastix_graph_t *graph) |
| Symmetrize a given graph. | |
| int | graphUpdateComputedFields (pastix_graph_t *graph) |
| Update dofs, nnz, nnzexp, gnnz, n, nexp, gN of a given graph. | |
| int | graphScatterInPlace (pastix_graph_t *graph, PASTIX_Comm comm) |
| This routine scatter a graph from node root to the other nodes. | |
| int | graphGatherInPlace (pastix_graph_t *graph) |
| This routine gather a distributed graph on each node in place. | |
| int | graphIsolate (const pastix_graph_t *ingraph, pastix_graph_t *outgraph, pastix_int_t isolate_n, pastix_int_t *isolate_list, pastix_int_t **new_perm, pastix_int_t **new_invp) |
| Isolate a subset of vertices from a given graph. | |
| int | graphIsolateRange (const pastix_graph_t *graph, const pastix_order_t *order, pastix_graph_t *out_graph, pastix_int_t fnode, pastix_int_t lnode, pastix_int_t distance) |
| Isolate the subgraph associated to a range of unknowns in the permuted graph. | |
| void | graphComputeProjection (const pastix_graph_t *graph, const int *vertlvl, pastix_order_t *order, const pastix_graph_t *subgraph, pastix_order_t *suborder, pastix_int_t fnode, pastix_int_t lnode, pastix_int_t sn_level, pastix_int_t distance, pastix_int_t maxdepth, pastix_int_t maxwidth, pastix_int_t *depthsze) |
| TODO. | |
| pastix_int_t | graphIsolateConnectedComponents (const pastix_graph_t *graph, pastix_int_t *comp_vtx, pastix_int_t *comp_sze) |
| Isolate the connected components from the original graph. | |
| int | graphComputeKway (const pastix_graph_t *graph, pastix_order_t *order, pastix_int_t *peritab, pastix_int_t *comp_nbr, pastix_int_t *comp_sze, pastix_int_t *comp_vtx, pastix_int_t comp_id, pastix_int_t nbpart) |
| Compute the K-way partition of a given set of unknowns. | |
| pastix_int_t * | graphGetWeights (const pastix_graph_t *graph) |
| Build the vertex weight array out of the dof array. | |
PaStiX graph structure routines
Definition in file graph.h.