#include <Epetra_FECrsMatrix.h>
Inheritance diagram for Epetra_FECrsMatrix:


Public Types | |
| enum | { ROW_MAJOR = 0, COLUMN_MAJOR = 3 } |
Public Member Functions | |
| Epetra_FECrsMatrix (Epetra_DataAccess CV, const Epetra_Map &RowMap, int *NumEntriesPerRow, bool ignoreNonLocalEntries=false) | |
| Epetra_FECrsMatrix (Epetra_DataAccess CV, const Epetra_Map &RowMap, int NumEntriesPerRow, bool ignoreNonLocalEntries=false) | |
| Epetra_FECrsMatrix (Epetra_DataAccess CV, const Epetra_Map &RowMap, const Epetra_Map &ColMap, int *NumEntriesPerRow, bool ignoreNonLocalEntries=false) | |
| Epetra_FECrsMatrix (Epetra_DataAccess CV, const Epetra_Map &RowMap, const Epetra_Map &ColMap, int NumEntriesPerRow, bool ignoreNonLocalEntries=false) | |
| Epetra_FECrsMatrix (Epetra_DataAccess CV, const Epetra_CrsGraph &Graph, bool ignoreNonLocalEntries=false) | |
| Epetra_FECrsMatrix (const Epetra_FECrsMatrix &src) | |
| virtual | ~Epetra_FECrsMatrix () |
| Epetra_FECrsMatrix & | operator= (const Epetra_FECrsMatrix &src) |
| int | SumIntoGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices) |
| int | InsertGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices) |
| int | ReplaceGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices) |
| int | SumIntoGlobalValues (int numIndices, const int *indices, const double *values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | SumIntoGlobalValues (int numRows, const int *rows, int numCols, const int *cols, const double *values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | SumIntoGlobalValues (int numIndices, const int *indices, const double *const *values, int format=Epetra_FECrsMatrix::ROW_MAJOR) |
| int | SumIntoGlobalValues (int numRows, const int *rows, int numCols, const int *cols, const double *const *values, int format=Epetra_FECrsMatrix::ROW_MAJOR) |
| int | InsertGlobalValues (int numIndices, const int *indices, const double *values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | InsertGlobalValues (int numRows, const int *rows, int numCols, const int *cols, const double *values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | InsertGlobalValues (int numIndices, const int *indices, const double *const *values, int format=Epetra_FECrsMatrix::ROW_MAJOR) |
| int | InsertGlobalValues (int numRows, const int *rows, int numCols, const int *cols, const double *const *values, int format=Epetra_FECrsMatrix::ROW_MAJOR) |
| int | ReplaceGlobalValues (int numIndices, const int *indices, const double *values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | ReplaceGlobalValues (int numRows, const int *rows, int numCols, const int *cols, const double *values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | ReplaceGlobalValues (int numIndices, const int *indices, const double *const *values, int format=Epetra_FECrsMatrix::ROW_MAJOR) |
| int | ReplaceGlobalValues (int numRows, const int *rows, int numCols, const int *cols, const double *const *values, int format=Epetra_FECrsMatrix::ROW_MAJOR) |
| int | SumIntoGlobalValues (const Epetra_IntSerialDenseVector &indices, const Epetra_SerialDenseMatrix &values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | SumIntoGlobalValues (const Epetra_IntSerialDenseVector &rows, const Epetra_IntSerialDenseVector &cols, const Epetra_SerialDenseMatrix &values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | InsertGlobalValues (const Epetra_IntSerialDenseVector &indices, const Epetra_SerialDenseMatrix &values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | InsertGlobalValues (const Epetra_IntSerialDenseVector &rows, const Epetra_IntSerialDenseVector &cols, const Epetra_SerialDenseMatrix &values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | ReplaceGlobalValues (const Epetra_IntSerialDenseVector &indices, const Epetra_SerialDenseMatrix &values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | ReplaceGlobalValues (const Epetra_IntSerialDenseVector &rows, const Epetra_IntSerialDenseVector &cols, const Epetra_SerialDenseMatrix &values, int format=Epetra_FECrsMatrix::COLUMN_MAJOR) |
| int | GlobalAssemble (bool callFillComplete=true) |
| int | GlobalAssemble (const Epetra_Map &domain_map, const Epetra_Map &range_map, bool callFillComplete=true) |
| void | setIgnoreNonLocalEntries (bool flag) |
| virtual int | SumIntoGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices) |
| Add this list of entries to existing values for a given global row of the matrix. | |
| virtual int | InsertGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices) |
| Insert a list of elements in a given global row of the matrix. | |
| virtual int | ReplaceGlobalValues (int GlobalRow, int NumEntries, double *Values, int *Indices) |
| Replace specified existing values with this list of entries for a given global row of the matrix. | |
It is intended that this class will be used as follows:
Sub-matrix data, which is assumed to be a rectangular 'table' of coefficients accompanied by 'scatter-indices', can be provided in three forms:
Important notes:
|
||||||||||||||||||||
|
Constructor. |
|
||||||||||||||||||||
|
Constructor. |
|
||||||||||||||||||||||||
|
Constructor. |
|
||||||||||||||||||||||||
|
Constructor. |
|
||||||||||||||||
|
Constructor. |
|
|
Copy Constructor. |
|
|
Destructor. |
|
||||||||||||||||
|
Gather any overlapping/shared data into the non-overlapping partitioning defined by the Map that was passed to this matrix at construction time. Data imported from other processors is stored on the owning processor with a "sumInto" or accumulate operation. This is a collective method -- every processor must enter it before any will complete it. NOTE***: When GlobalAssemble() (the other overloading of this method) calls FillComplete(), it passes the arguments 'DomainMap()' and 'RangeMap()', which are the map attributes already held by the base-class CrsMatrix and its graph. If a rectangular matrix is being assembled, the domain-map and range-map must be specified. Otherwise, GlobalAssemble() has no way of knowing what these maps should really be.
|
|
|
Gather any overlapping/shared data into the non-overlapping partitioning defined by the Map that was passed to this matrix at construction time. Data imported from other processors is stored on the owning processor with a "sumInto" or accumulate operation. This is a collective method -- every processor must enter it before any will complete it. NOTE***: When GlobalAssemble() calls FillComplete(), it passes the arguments 'DomainMap()' and 'RangeMap()', which are the map attributes held by the base-class CrsMatrix and its graph. If a rectangular matrix is being assembled, the domain-map and range-map must be specified by calling the other overloading of this method. Otherwise, GlobalAssemble() has no way of knowing what these maps should really be.
|
|
||||||||||||||||||||
|
Insert a list of elements in a given global row of the matrix. This method is used to construct a matrix for the first time. It cannot be used if the matrix structure has already been fixed (via a call to FillComplete()). If multiple values are inserted for the same matrix entry, the values are initially stored separately, so memory use will grow as a result. However, when FillComplete is called the values will be summed together and the additional memory will be released. For example, if the values 2.0, 3.0 and 4.0 are all inserted in Row 1, Column 2, extra storage is used to store each of the three values separately. In this way, the insert process does not require any searching and can be faster. However, when FillComplete() is called, the values will be summed together to equal 9.0 and only a single entry will remain in the matrix for Row 1, Column 2.
|
|
||||||||||||||||||||
|
Insert a general sub-matrix into the global matrix. For square structurally-symmetric sub-matrices, see the other overloading of this method.
|
|
||||||||||||||||
|
Insert a square structurally-symmetric sub-matrix into the global matrix. For non-square sub-matrices, see the other overloading of this method.
|
|
||||||||||||||||||||||||||||
|
Insert a C-style table (double-pointer, or list of lists) of coefficients into the matrix.
|
|
||||||||||||||||||||
|
Insert a C-style table (double-pointer, or list of lists) of coefficients into the matrix.
|
|
||||||||||||||||||||||||||||
|
Insert a Fortran-style table (single-dimensional packed-list) of coefficients into the matrix.
|
|
||||||||||||||||||||
|
Insert a Fortran-style table (single-dimensional packed-list) of coefficients into the matrix.
|
|
||||||||||||||||||||
|
override base-class Epetra_CrsMatrix::InsertGlobalValues method Reimplemented from Epetra_CrsMatrix. |
|
|
Assignment operator |
|
||||||||||||||||||||
|
Replace specified existing values with this list of entries for a given global row of the matrix.
|
|
||||||||||||||||||||
|
Use a general sub-matrix to replace existing values. For square structurally-symmetric sub-matrices, see the other overloading of this method.
|
|
||||||||||||||||
|
Use a square structurally-symmetric sub-matrix to replace existing values in the global matrix. For non-square sub-matrices, see the other overloading of this method.
|
|
||||||||||||||||||||||||||||
|
Copy C-style table (double-pointer, or list of lists) of coefficients into the matrix, replacing any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||
|
Copy C-style table (double-pointer, or list of lists) of coefficients into the matrix, replacing any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||||||||||
|
Copy Fortran-style table (single-dimensional packed-list) of coefficients into the matrix, replacing any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||
|
Copy a Fortran-style table (single-dimensional packed-list) of coefficients into the matrix, replacing any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||
|
override base-class Epetra_CrsMatrix::ReplaceGlobalValues method Reimplemented from Epetra_CrsMatrix. |
|
|
Set whether or not non-local data values should be ignored. By default, non-local data values are NOT ignored. |
|
||||||||||||||||||||
|
Add this list of entries to existing values for a given global row of the matrix.
|
|
||||||||||||||||||||
|
Sum a general sub-matrix into the global matrix. For square structurally-symmetric sub-matrices, see the other overloading of this method.
|
|
||||||||||||||||
|
Sum a square structurally-symmetric sub-matrix into the global matrix. For non-square sub-matrices, see the other overloading of this method.
|
|
||||||||||||||||||||||||||||
|
Sum C-style table (double-pointer, or list of lists) of coefficients into the matrix, adding them to any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||
|
Sum C-style table (double-pointer, or list of lists) of coefficients into the matrix, adding them to any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||||||||||
|
Sum a Fortran-style table (single-dimensional packed-list) of coefficients into the matrix, adding them to any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||
|
Sum a Fortran-style table (single-dimensional packed-list) of coefficients into the matrix, adding them to any coefficients that may already exist at the specified row/column locations.
|
|
||||||||||||||||||||
|
override base-class Epetra_CrsMatrix::SumIntoGlobalValues method Reimplemented from Epetra_CrsMatrix. |
1.3.9.1