9 #ifndef _fei_MatrixTraits_hpp_
10 #define _fei_MatrixTraits_hpp_
52 {
return(
"unsupported"); }
94 int row,
int len,
double* coefs,
int* indices)
102 int numRows,
const int* rows,
103 int numCols,
const int* cols,
104 const double*
const* values,
126 #endif // _fei_MatrixTraits_hpp_
static const char * typeName()
static double * getBeginPointer(T *)
static int matvec(T *A, fei::Vector *x, fei::Vector *y)
static int getRowLength(T *mat, int row, int &length)
static int getNumLocalRows(T *mat, int &numRows)
static int setValues(T *mat, double scalar)
static int copyOutRow(T *mat, int row, int len, double *coefs, int *indices)
static int putValuesIn(T *mat, int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into)
static int getOffset(T *, int, int)
static int globalAssemble(T *A)