|
FEI
Version of the Day
|
#include <fei_MatrixTraits_LinSysCore.hpp>
Static Public Member Functions | |
| static const char * | typeName () |
| static int | setValues (LinearSystemCore *lsc, double scalar) |
| static int | getNumLocalRows (LinearSystemCore *lsc, int &numRows) |
| static int | getRowLength (LinearSystemCore *lsc, int row, int &length) |
| static int | copyOutRow (LinearSystemCore *lsc, int row, int len, double *coefs, int *indices) |
| static int | putValuesIn (LinearSystemCore *lsc, int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into) |
| static int | globalAssemble (LinearSystemCore *lsc) |
| static int | matvec (LinearSystemCore *lsc, fei::Vector *x, fei::Vector *y) |
Specialization for LinearSystemCore.
Definition at line 22 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Return a string type-name for the underlying matrix
Definition at line 25 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Set a specified scalar value throughout the matrix.
Definition at line 40 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Query the number of rows. This is expected to be the number of rows on the local processor.
Definition at line 48 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Given a global (zero-based) row number, query the length of that row.
Definition at line 56 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Given a global (zero-based) row number, pass out a copy of the contents of that row.
| lsc | |
| row | |
| len | Length of the user-allocated arrays coefs and indices. |
| coefs | User-allocated array which will hold matrix coefficients on output. |
| indices | User-allocated array which will hold column-indices on output. |
Definition at line 73 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Sum a C-style table of coefficient data into the underlying matrix.
Definition at line 82 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Perform any necessary internal communications/synchronizations or other operations appropriate at end of data input. For some implementations this will be a no-op, so this "default implementation" will return 0.
Definition at line 102 of file fei_MatrixTraits_LinSysCore.hpp.
|
inlinestatic |
Compute the matrix-vector product y = A*x
Definition at line 108 of file fei_MatrixTraits_LinSysCore.hpp.
1.8.14