9 #ifndef _fei_MatrixTraits_LinSysCore_hpp_
10 #define _fei_MatrixTraits_LinSysCore_hpp_
16 #include <fei_LinearSystemCore.hpp>
26 {
return(
"LinearSystemCore"); }
30 return lsc->getMatrixBeginPointer();
35 return lsc->getMatrixOffset(row,col);
74 int row,
int len,
double* coefs,
int* indices)
77 return( lsc->
getMatrixRow(row, coefs, indices, len, dummy) );
83 int numRows,
const int* rows,
84 int numCols,
const int* cols,
85 const double*
const* values,
90 numCols, cols, values) );
94 numCols, cols, values) );
117 #endif // _fei_MatrixTraits_LinSysCore_hpp_
virtual int sumIntoSystemMatrix(int numPtRows, const int *ptRows, int numPtCols, const int *ptCols, int numBlkRows, const int *blkRows, int numBlkCols, const int *blkCols, const double *const *values)=0
static int getNumLocalRows(LinearSystemCore *lsc, int &numRows)
virtual int resetMatrix(double s)=0
virtual int getMatrixRowLength(int row, int &length)=0
static int setValues(LinearSystemCore *lsc, double scalar)
static int getRowLength(LinearSystemCore *lsc, int row, int &length)
virtual int putIntoSystemMatrix(int numPtRows, const int *ptRows, int numPtCols, const int *ptCols, const double *const *values)=0
static const char * typeName()
static int matvec(LinearSystemCore *lsc, fei::Vector *x, fei::Vector *y)
virtual int matrixLoadComplete()=0
static int globalAssemble(LinearSystemCore *lsc)
virtual int getMatrixRow(int row, double *coefs, int *indices, int len, int &rowLength)=0
static int putValuesIn(LinearSystemCore *lsc, int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into)
static int copyOutRow(LinearSystemCore *lsc, int row, int len, double *coefs, int *indices)