9 #ifndef _fei_MatrixTraits_LinProbMgr_hpp_
10 #define _fei_MatrixTraits_LinProbMgr_hpp_
16 #include <fei_LinearProblemManager.hpp>
22 struct MatrixTraits<fei::LinearProblemManager> {
26 {
return(
"fei::LinearProblemManager"); }
60 if (length < 0)
return(length);
77 int row,
int len,
double* coefs,
int* indices)
85 int numRows,
const int* rows,
86 int numCols,
const int* cols,
87 const double*
const* values,
113 #endif // _fei_MatrixTraits_LinProbMgr_hpp_
static const char * typeName()
static int matvec(T *A, fei::Vector *x, fei::Vector *y)
virtual int insertMatrixValues(int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into)=0
virtual int copyOutMatrixRow(int row, int len, double *coefs, int *indices)=0
static int getRowLength(T *mat, int row, int &length)
static int getNumLocalRows(T *mat, int &numRows)
virtual int getLocalNumRows()=0
virtual void setMatrixValues(double scalar)=0
static int setValues(T *mat, double scalar)
virtual int getRowLength(int row)=0
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)
virtual int globalAssemble()=0
static int globalAssemble(T *A)