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


Public Types | |
| ROW_MAJOR = 0 | |
| COLUMN_MAJOR = 3 | |
| 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) |
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:
| Epetra_FECrsMatrix::Epetra_FECrsMatrix | ( | Epetra_DataAccess | CV, | |
| const Epetra_Map & | RowMap, | |||
| int * | NumEntriesPerRow, | |||
| bool | ignoreNonLocalEntries = false | |||
| ) |
Constructor.
| Epetra_FECrsMatrix::Epetra_FECrsMatrix | ( | Epetra_DataAccess | CV, | |
| const Epetra_Map & | RowMap, | |||
| int | NumEntriesPerRow, | |||
| bool | ignoreNonLocalEntries = false | |||
| ) |
Constructor.
| Epetra_FECrsMatrix::Epetra_FECrsMatrix | ( | Epetra_DataAccess | CV, | |
| const Epetra_Map & | RowMap, | |||
| const Epetra_Map & | ColMap, | |||
| int * | NumEntriesPerRow, | |||
| bool | ignoreNonLocalEntries = false | |||
| ) |
Constructor.
| Epetra_FECrsMatrix::Epetra_FECrsMatrix | ( | Epetra_DataAccess | CV, | |
| const Epetra_Map & | RowMap, | |||
| const Epetra_Map & | ColMap, | |||
| int | NumEntriesPerRow, | |||
| bool | ignoreNonLocalEntries = false | |||
| ) |
Constructor.
| Epetra_FECrsMatrix::Epetra_FECrsMatrix | ( | Epetra_DataAccess | CV, | |
| const Epetra_CrsGraph & | Graph, | |||
| bool | ignoreNonLocalEntries = false | |||
| ) |
Constructor.
| Epetra_FECrsMatrix::Epetra_FECrsMatrix | ( | const Epetra_FECrsMatrix & | src | ) |
Copy Constructor.
| virtual Epetra_FECrsMatrix::~Epetra_FECrsMatrix | ( | ) | [virtual] |
Destructor.
| int Epetra_FECrsMatrix::GlobalAssemble | ( | const Epetra_Map & | domain_map, | |
| const Epetra_Map & | range_map, | |||
| bool | callFillComplete = true | |||
| ) |
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.
| domain_map | user-supplied domain map for this matrix | |
| range_map | user-supplied range map for this matrix | |
| callFillComplete | option argument, defaults to true. Determines whether GlobalAssemble() internally calls the FillComplete() method on this matrix. |
| int Epetra_FECrsMatrix::GlobalAssemble | ( | bool | callFillComplete = true |
) |
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.
| callFillComplete | option argument, defaults to true. Determines whether GlobalAssemble() internally calls the FillComplete() method on this matrix. |
| int Epetra_FECrsMatrix::InsertGlobalValues | ( | const Epetra_IntSerialDenseVector & | rows, | |
| const Epetra_IntSerialDenseVector & | cols, | |||
| const Epetra_SerialDenseMatrix & | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
Insert a general sub-matrix into the global matrix. For square structurally-symmetric sub-matrices, see the other overloading of this method.
| rows | List of row-indices. rows.Length() must be the same as values.M(). | |
| cols | List of column-indices. cols.Length() must be the same as values.N(). | |
| values | Sub-matrix of coefficients. | |
| format | Optional format specifier, defaults to COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::InsertGlobalValues | ( | const Epetra_IntSerialDenseVector & | indices, | |
| const Epetra_SerialDenseMatrix & | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
Insert a square structurally-symmetric sub-matrix into the global matrix. For non-square sub-matrices, see the other overloading of this method.
| indices | List of scatter-indices. indices.Length() must be the same as values.M() and values.N(). | |
| values | Sub-matrix of coefficients. Must be square. | |
| format | Optional format specifier, defaults to COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::InsertGlobalValues | ( | int | numRows, | |
| const int * | rows, | |||
| int | numCols, | |||
| const int * | cols, | |||
| const double *const * | values, | |||
| int | format = Epetra_FECrsMatrix::ROW_MAJOR | |||
| ) |
Insert a C-style table (double-pointer, or list of lists) of coefficients into the matrix.
| numRows | Number of rows in the sub-matrix. | |
| rows | List of row-numbers (scatter-indices) for the sub-matrix. | |
| numCols | Number of columns in the sub-matrix. | |
| cols | List of column-numbers (scatter-indices) for the sub-matrix. | |
| values | Rectangular sub-matrix of coefficients, provided in a 2-D array, or double-pointer. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is ROW_MAJOR. |
| int Epetra_FECrsMatrix::InsertGlobalValues | ( | int | numIndices, | |
| const int * | indices, | |||
| const double *const * | values, | |||
| int | format = Epetra_FECrsMatrix::ROW_MAJOR | |||
| ) |
Insert a C-style table (double-pointer, or list of lists) of coefficients into the matrix.
| numIndices | Number of rows (and columns) in the sub-matrix. | |
| indices | List of scatter-indices (rows and columns) for the sub-matrix. | |
| values | Square sub-matrix of coefficients, provided in a 2-D array, or double-pointer. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is ROW_MAJOR. |
| int Epetra_FECrsMatrix::InsertGlobalValues | ( | int | numRows, | |
| const int * | rows, | |||
| int | numCols, | |||
| const int * | cols, | |||
| const double * | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
Insert a Fortran-style table (single-dimensional packed-list) of coefficients into the matrix.
| numRows | Number of rows in the sub-matrix. | |
| rows | List of row-numbers (scatter-indices) for the sub-matrix. | |
| numCols | Number of columns in the sub-matrix. | |
| cols | List of column-numbers (scatter-indices) for the sub-matrix. | |
| values | List, length numRows*numCols. Rectangular sub-matrix of coefficients, packed in a 1-D array. Data is packed either contiguously by row or by column, specified by the final parameter 'format'. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::InsertGlobalValues | ( | int | numIndices, | |
| const int * | indices, | |||
| const double * | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
Insert a Fortran-style table (single-dimensional packed-list) of coefficients into the matrix.
| numIndices | Number of rows (and columns) in the sub-matrix. | |
| indices | List of scatter-indices (rows and columns) for the sub-matrix. | |
| values | List, length numIndices*numIndices. Square sub-matrix of coefficients, packed in a 1-D array. Data is packed either contiguously by row or by column, specified by the final parameter 'format'. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::InsertGlobalValues | ( | int | GlobalRow, | |
| int | NumEntries, | |||
| double * | Values, | |||
| int * | Indices | |||
| ) | [virtual] |
override base-class Epetra_CrsMatrix::InsertGlobalValues method
Reimplemented from Epetra_CrsMatrix.
| Epetra_FECrsMatrix& Epetra_FECrsMatrix::operator= | ( | const Epetra_FECrsMatrix & | src | ) |
Assignment operator
| int Epetra_FECrsMatrix::ReplaceGlobalValues | ( | const Epetra_IntSerialDenseVector & | rows, | |
| const Epetra_IntSerialDenseVector & | cols, | |||
| const Epetra_SerialDenseMatrix & | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
Use a general sub-matrix to replace existing values. For square structurally-symmetric sub-matrices, see the other overloading of this method.
| rows | List of row-indices. rows.Length() must be the same as values.M(). | |
| cols | List of column-indices. cols.Length() must be the same as values.N(). | |
| values | Sub-matrix of coefficients. | |
| format | Optional format specifier, defaults to COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::ReplaceGlobalValues | ( | const Epetra_IntSerialDenseVector & | indices, | |
| const Epetra_SerialDenseMatrix & | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
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.
| indices | List of scatter-indices. indices.Length() must be the same as values.M() and values.N(). | |
| values | Sub-matrix of coefficients. Must be square. | |
| format | Optional format specifier, defaults to COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::ReplaceGlobalValues | ( | int | numRows, | |
| const int * | rows, | |||
| int | numCols, | |||
| const int * | cols, | |||
| const double *const * | values, | |||
| int | format = Epetra_FECrsMatrix::ROW_MAJOR | |||
| ) |
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.
| numRows | Number of rows in the sub-matrix. | |
| rows | List of row-numbers (scatter-indices) for the sub-matrix. | |
| numCols | Number of columns in the sub-matrix. | |
| cols | List of column-numbers (scatter-indices) for the sub-matrix. | |
| values | Rectangular sub-matrix of coefficients, provided in a 2-D array, or double-pointer. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is ROW_MAJOR. |
| int Epetra_FECrsMatrix::ReplaceGlobalValues | ( | int | numIndices, | |
| const int * | indices, | |||
| const double *const * | values, | |||
| int | format = Epetra_FECrsMatrix::ROW_MAJOR | |||
| ) |
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.
| numIndices | Number of rows (and columns) in the sub-matrix. | |
| indices | List of scatter-indices (rows and columns) for the sub-matrix. | |
| values | Square sub-matrix of coefficients, provided in a 2-D array, or double-pointer. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is ROW_MAJOR. |
| int Epetra_FECrsMatrix::ReplaceGlobalValues | ( | int | numRows, | |
| const int * | rows, | |||
| int | numCols, | |||
| const int * | cols, | |||
| const double * | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
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.
| numRows | Number of rows in the sub-matrix. | |
| rows | List of row-numbers (scatter-indices) for the sub-matrix. | |
| numCols | Number of columns in the sub-matrix. | |
| cols | List, of column-numbers (scatter-indices) for the sub-matrix. | |
| values | List, length numRows*numCols. Rectangular sub-matrix of coefficients, packed in a 1-D array. Data is packed either contiguously by row or by column, specified by the final parameter 'format'. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::ReplaceGlobalValues | ( | int | numIndices, | |
| const int * | indices, | |||
| const double * | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
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.
| numIndices | Number of rows (and columns) in the sub-matrix. | |
| indices | List of scatter-indices (rows and columns) for the sub-matrix. | |
| values | List, length numIndices*numIndices. Square sub-matrix of coefficients, packed in a 1-D array. Data is packed either contiguously by row or by column, specified by the final parameter 'format'. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::ReplaceGlobalValues | ( | int | GlobalRow, | |
| int | NumEntries, | |||
| double * | Values, | |||
| int * | Indices | |||
| ) | [virtual] |
override base-class Epetra_CrsMatrix::ReplaceGlobalValues method
Reimplemented from Epetra_CrsMatrix.
| void Epetra_FECrsMatrix::setIgnoreNonLocalEntries | ( | bool | flag | ) | [inline] |
Set whether or not non-local data values should be ignored. By default, non-local data values are NOT ignored.
| int Epetra_FECrsMatrix::SumIntoGlobalValues | ( | const Epetra_IntSerialDenseVector & | rows, | |
| const Epetra_IntSerialDenseVector & | cols, | |||
| const Epetra_SerialDenseMatrix & | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
Sum a general sub-matrix into the global matrix. For square structurally-symmetric sub-matrices, see the other overloading of this method.
| rows | List of row-indices. rows.Length() must be the same as values.M(). | |
| cols | List of column-indices. cols.Length() must be the same as values.N(). | |
| values | Sub-matrix of coefficients. | |
| format | Optional format specifier, defaults to COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::SumIntoGlobalValues | ( | const Epetra_IntSerialDenseVector & | indices, | |
| const Epetra_SerialDenseMatrix & | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
Sum a square structurally-symmetric sub-matrix into the global matrix. For non-square sub-matrices, see the other overloading of this method.
| indices | List of scatter-indices. indices.Length() must be the same as values.M() and values.N(). | |
| values | Sub-matrix of coefficients. Must be square. | |
| format | Optional format specifier, defaults to COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::SumIntoGlobalValues | ( | int | numRows, | |
| const int * | rows, | |||
| int | numCols, | |||
| const int * | cols, | |||
| const double *const * | values, | |||
| int | format = Epetra_FECrsMatrix::ROW_MAJOR | |||
| ) |
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.
| numRows | Number of rows in the sub-matrix. | |
| rows | List of row-numbers (scatter-indices) for the sub-matrix. | |
| numCols | Number of columns in the sub-matrix. | |
| cols | List of column-numbers (scatter-indices) for the sub-matrix. | |
| values | Rectangular sub-matrix of coefficients, provided in a 2-D array, or double-pointer. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is ROW_MAJOR. |
| int Epetra_FECrsMatrix::SumIntoGlobalValues | ( | int | numIndices, | |
| const int * | indices, | |||
| const double *const * | values, | |||
| int | format = Epetra_FECrsMatrix::ROW_MAJOR | |||
| ) |
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.
| numIndices | Number of rows (and columns) in the sub-matrix. | |
| indices | List of scatter-indices (rows and columns) for the sub-matrix. | |
| values | Square sub-matrix of coefficients, provided in a 2-D array, or double-pointer. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is ROW_MAJOR. |
| int Epetra_FECrsMatrix::SumIntoGlobalValues | ( | int | numRows, | |
| const int * | rows, | |||
| int | numCols, | |||
| const int * | cols, | |||
| const double * | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
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.
| numRows | Number of rows in the sub-matrix. | |
| rows | List of row-numbers (scatter-indices) for the sub-matrix. | |
| numCols | Number of columns in the sub-matrix. | |
| cols | List of column-numbers (scatter-indices) for the sub-matrix. | |
| values | List, length numRows*numCols. Rectangular sub-matrix of coefficients, packed in a 1-D array. Data is packed either contiguously by row or by column, specified by the final parameter 'format'. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::SumIntoGlobalValues | ( | int | numIndices, | |
| const int * | indices, | |||
| const double * | values, | |||
| int | format = Epetra_FECrsMatrix::COLUMN_MAJOR | |||
| ) |
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.
| numIndices | Number of rows (and columns) in the sub-matrix. | |
| indices | List of scatter-indices (rows and columns) for the sub-matrix. | |
| values | List, length numIndices*numIndices. Square sub-matrix of coefficients, packed in a 1-D array. Data is packed either contiguously by row or by column, specified by the final parameter 'format'. | |
| format | Specifies whether the data in 'values' is packed in column-major or row-major order. Valid values are Epetra_FECrsMatrix::ROW_MAJOR or Epetra_FECrsMatrix::COLUMN_MAJOR. This is an optional parameter, default value is COLUMN_MAJOR. |
| int Epetra_FECrsMatrix::SumIntoGlobalValues | ( | int | GlobalRow, | |
| int | NumEntries, | |||
| double * | Values, | |||
| int * | Indices | |||
| ) | [virtual] |
override base-class Epetra_CrsMatrix::SumIntoGlobalValues method
Reimplemented from Epetra_CrsMatrix.
1.4.7