9 #ifndef _fei_MatrixTraits_LinProbMgr_hpp_
10 #define _fei_MatrixTraits_LinProbMgr_hpp_
16 #include <fei_LinearProblemManager.hpp>
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 int copyOutRow(fei::LinearProblemManager *mat, int row, int len, double *coefs, int *indices)
static int globalAssemble(fei::LinearProblemManager *mat)
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
virtual int getLocalNumRows()=0
static int getRowLength(fei::LinearProblemManager *mat, int row, int &length)
static int matvec(fei::LinearProblemManager *mat, fei::Vector *x, fei::Vector *y)
static const char * typeName()
virtual void setMatrixValues(double scalar)=0
static int setValues(fei::LinearProblemManager *mat, double scalar)
static int getNumLocalRows(fei::LinearProblemManager *mat, int &numRows)
virtual int getRowLength(int row)=0
static int putValuesIn(fei::LinearProblemManager *mat, int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into)
virtual int globalAssemble()=0