GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sparsemat_perm_colpack.cpp File Reference
#include "ghost/sparsemat.h"
#include "ghost/util.h"
#include "ghost/locality.h"
#include "ghost/bincrs.h"
Include dependency graph for sparsemat_perm_colpack.cpp:

Functions

ghost_error ghost_sparsemat_perm_color (ghost_context *ctx, ghost_sparsemat *mat)
 Create a matrix permutation based on 2-way coloring using ColPack. More...
 

Function Documentation

ghost_error ghost_sparsemat_perm_color ( ghost_context ctx,
ghost_sparsemat mat 
)

Create a matrix permutation based on 2-way coloring using ColPack.

Parameters
[out]ctxThe context in which to store the permutations and color information.
[in]matThe unpermuted SELL-1-1 source sparse matrix.
Returns
GHOST_SUCCESS on success or an error indicator.

Here is the call graph for this function: