![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
GHOST sparsemat sources. More...
Go to the source code of this file.
Classes | |
struct | ghost_sparsemat_src_rowfunc |
Defines a rowfunc-based sparsemat source. More... | |
Macros | |
#define | GHOST_SPARSEMAT_ROWFUNC_INIT -99 |
#define | GHOST_SPARSEMAT_ROWFUNC_FINALIZE -100 |
Typedefs | |
typedef int(* | ghost_sparsemat_rowfunc )(ghost_gidx row, ghost_lidx *nnz, ghost_gidx *col, void *val, void *arg) |
Callback function to construct a ghost_sparsemat. More... | |
typedef int(* | ghost_sparsemat_rowfunc_constructor )(void *arg, void **work) |
Enumerations | |
enum | ghost_sparsemat_rowfunc_flags { GHOST_SPARSEMAT_ROWFUNC_DEFAULT = 0 } |
Flags to be passed to a row-wise matrix assembly function. More... | |
Variables | |
const ghost_sparsemat_src_rowfunc | GHOST_SPARSEMAT_SRC_ROWFUNC_INITIALIZER |
GHOST sparsemat sources.
#define GHOST_SPARSEMAT_ROWFUNC_FINALIZE -100 |
#define GHOST_SPARSEMAT_ROWFUNC_INIT -99 |
typedef int(* ghost_sparsemat_rowfunc)(ghost_gidx row, ghost_lidx *nnz, ghost_gidx *col, void *val, void *arg) |
Callback function to construct a ghost_sparsemat.
[in] | row | The global row index. |
[out] | nnz | The number of values in this row. |
[out] | val | The values in the specified row. |
[out] | col | The column indices of the given values. |
[in,out] | arg | Additional arguments. |
typedef int(* ghost_sparsemat_rowfunc_constructor)(void *arg, void **work) |
const ghost_sparsemat_src_rowfunc GHOST_SPARSEMAT_SRC_ROWFUNC_INITIALIZER |