#include <fei_MatrixTraits_FEData.hpp>
|
| static const char * | typeName () |
| |
| static double * | getBeginPointer (FiniteElementData *fed) |
| |
| static int | getOffset (FiniteElementData *, int row, int col) |
| |
| static int | setValues (FiniteElementData *fed, double scalar) |
| |
| static int | getNumLocalRows (FiniteElementData *fed, int &numRows) |
| |
| static int | getRowLength (FiniteElementData *fed, int row, int &length) |
| |
| static int | copyOutRow (FiniteElementData *fed, int row, int len, double *coefs, int *indices) |
| |
| static int | putValuesIn (FiniteElementData *fed, int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into) |
| |
| static int | globalAssemble (FiniteElementData *fed) |
| |
| static int | matvec (FiniteElementData *fed, fei::Vector *x, fei::Vector *y) |
| |
| static const char * | typeName () |
| |
| static double * | getBeginPointer (FiniteElementData *) |
| |
| static int | getOffset (FiniteElementData *, int, int) |
| |
| static int | setValues (FiniteElementData *mat, double scalar) |
| |
| static int | getNumLocalRows (FiniteElementData *mat, int &numRows) |
| |
| static int | getRowLength (FiniteElementData *mat, int row, int &length) |
| |
| static int | copyOutRow (FiniteElementData *mat, int row, int len, double *coefs, int *indices) |
| |
| static int | putValuesIn (FiniteElementData *mat, int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into) |
| |
| static int | globalAssemble (FiniteElementData *A) |
| |
| static int | matvec (FiniteElementData *A, fei::Vector *x, fei::Vector *y) |
| |
specialization for FiniteElementData
Definition at line 21 of file fei_MatrixTraits_FEData.hpp.
◆ typeName() [1/2]
◆ getBeginPointer() [1/2]
◆ getOffset() [1/2]
◆ setValues() [1/2]
◆ getNumLocalRows() [1/2]
Query the number of rows. This is expected to be the number of rows on the local processor.
Definition at line 47 of file fei_MatrixTraits_FEData.hpp.
◆ getRowLength() [1/2]
◆ copyOutRow() [1/2]
Given a global (zero-based) row number, pass out a copy of the contents of that row.
- Parameters
-
| fed | |
| 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. |
- Returns
- error-code 0 if successful. Non-zero return-value may indicate that the specified row is not locally owned.
Definition at line 72 of file fei_MatrixTraits_FEData.hpp.
◆ putValuesIn() [1/2]
◆ globalAssemble() [1/2]
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 93 of file fei_MatrixTraits_FEData.hpp.
References FiniteElementData::loadComplete().
◆ matvec() [1/2]
◆ typeName() [2/2]
Return a string type-name for the underlying matrix. May appear in debug-output logs, etc. Does not need to exactly correspond to the type, but should be descriptive.
Definition at line 51 of file fei_MatrixTraits.hpp.
◆ getBeginPointer() [2/2]
◆ getOffset() [2/2]
◆ setValues() [2/2]
◆ getNumLocalRows() [2/2]
Query the number of local rows. This is expected to be the number of point-entry rows on the local processor.
Definition at line 72 of file fei_MatrixTraits.hpp.
◆ getRowLength() [2/2]
Given a locally-owned global row number, query the length (number of nonzeros) of that row.
Definition at line 78 of file fei_MatrixTraits.hpp.
◆ copyOutRow() [2/2]
Given a locally-owned global row number, pass out a copy of the contents of that row.
- Parameters
-
| mat | |
| row | Global row number |
| 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. |
- Returns
- error-code 0 if successful. Non-zero return-value may indicate that the specified row is not locally owned.
Definition at line 93 of file fei_MatrixTraits.hpp.
◆ putValuesIn() [2/2]
Sum a C-style table of coefficient data into the underlying matrix. This is a rectangular array of coefficients for rows/columns defined by the 'rows' and 'cols' lists.
Definition at line 101 of file fei_MatrixTraits.hpp.
◆ globalAssemble() [2/2]
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" returns 0. (The Trilinos/Epetra traits specialization calls A->FillComplete() at this point.)
Definition at line 114 of file fei_MatrixTraits.hpp.
◆ matvec() [2/2]
Compute the matrix-vector product y = A*x. It is expected that the underlying matrix object will form the local portion of the result 'y' on the local processor.
Definition at line 120 of file fei_MatrixTraits.hpp.
The documentation for this struct was generated from the following file: