GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Attributes | List of all members
ghost_sparsemat_src_rowfunc Struct Reference

Defines a rowfunc-based sparsemat source. More...

#include <sparsemat_src.h>

Public Attributes

ghost_sparsemat_rowfunc func
 The callback function which assembled the matrix row-wise. More...
 
ghost_lidx maxrowlen
 Maximum row length of the matrix. More...
 
int base
 0 for C, 1 for Fortran-like indexing. More...
 
ghost_sparsemat_rowfunc_flags flags
 Flags to the row function. More...
 
ghost_gidx gnrows
 
ghost_gidx gncols
 
void * arg
 
ghost_sparsemat_rowfunc_constructor funcinit
 

Detailed Description

Defines a rowfunc-based sparsemat source.

Member Data Documentation

void* ghost_sparsemat_src_rowfunc::arg
int ghost_sparsemat_src_rowfunc::base

0 for C, 1 for Fortran-like indexing.

ghost_sparsemat_rowfunc_flags ghost_sparsemat_src_rowfunc::flags

Flags to the row function.

ghost_sparsemat_rowfunc ghost_sparsemat_src_rowfunc::func

The callback function which assembled the matrix row-wise.

Note
The function func may be called several times for each row concurrently by multiple threads.
ghost_sparsemat_rowfunc_constructor ghost_sparsemat_src_rowfunc::funcinit

hack into the code

ghost_gidx ghost_sparsemat_src_rowfunc::gncols
ghost_gidx ghost_sparsemat_src_rowfunc::gnrows
ghost_lidx ghost_sparsemat_src_rowfunc::maxrowlen

Maximum row length of the matrix.


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