9 #ifndef _fei_MatrixTraits_LinSysCore_hpp_
10 #define _fei_MatrixTraits_LinSysCore_hpp_
26 {
return(
"LinearSystemCore"); }
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
static double * getBeginPointer(LinearSystemCore *lsc)
static int getOffset(LinearSystemCore *lsc, int row, int col)
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
virtual double * getMatrixBeginPointer()
static int globalAssemble(LinearSystemCore *lsc)
virtual int getMatrixRow(int row, double *coefs, int *indices, int len, int &rowLength)=0
virtual int getMatrixOffset(int, int)
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)