#include <EpetraExt_BlockCrsMatrix.h>
Inherits Epetra_CrsMatrix.
|
| const std::vector< int > & | Stencil (int i=0) |
| | Local Stencil Info. More...
|
| |
| int | RowIndex (int i=0) |
| | RowIndex. More...
|
| |
| void | LoadBlock (const Epetra_RowMatrix &BaseMatrix, const int Row, const int Col) |
| | Routine for loading a base matrices values into the large Block Matrix The Row and Col arguments are indices into RowStencil. More...
|
| |
| void | SumIntoBlock (double alpha, const Epetra_RowMatrix &BaseMatrix, const int Row, const int Col) |
| | Routine for summing base matrices values into the large Block Matrix The Row and Col arguments are indices into RowStencil. More...
|
| |
| void | SumIntoGlobalBlock (double alpha, const Epetra_RowMatrix &BaseMatrix, const int Row, const int Col) |
| | Routine for summing base matrices values into the large Block Matrix The Row and Col arguments are global indices. More...
|
| |
| void | BlockSumIntoGlobalValues (const int BaseRow, int NumIndices, double *Values, const int *Indices, const int Row, const int Col) |
| | Sum Entries into Block matrix using base-matrix numbering plus block Row and Col The Row and Col arguments are indices into RowStencil. More...
|
| |
| void | BlockReplaceGlobalValues (const int BaseRow, int NumIndices, double *Values, const int *Indices, const int Row, const int Col) |
| |
| void | BlockExtractGlobalRowView (const int BaseRow, int &NumEntries, double *&Values, const int Row, const int Col) |
| |
| void | ExtractBlock (Epetra_CrsMatrix &BaseMatrix, const int Row, const int Col) |
| |
|
| Epetra_CrsGraph | BaseGraph_ |
| |
| std::vector< std::vector< int > > | RowStencil_ |
| |
| std::vector< int > | RowIndices_ |
| |
| int | ROffset_ |
| |
| int | COffset_ |
| |
| | BlockCrsMatrix (const Epetra_CrsGraph &BaseGraph, const std::vector< int > &RowStencil, int RowIndex, const Epetra_Comm &GlobalComm) |
| | BlockCrsMatrix constuctor with one block row per processor. More...
|
| |
| | BlockCrsMatrix (const Epetra_CrsGraph &BaseGraph, const std::vector< std::vector< int > > &RowStencil, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm) |
| | BlockCrsMatrix constuctor with multiple block rows per processor. More...
|
| |
| | BlockCrsMatrix (const Epetra_CrsGraph &BaseGraph, const Epetra_CrsGraph &LocalBlockGraph, const Epetra_Comm &GlobalComm) |
| | Version taking a local block graph. More...
|
| |
| | BlockCrsMatrix (const Epetra_RowMatrix &BaseMatrix, const std::vector< std::vector< int > > &RowStencil, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm) |
| |
| | BlockCrsMatrix (const BlockCrsMatrix &Matrix) |
| | Copy constructor. More...
|
| |
| virtual | ~BlockCrsMatrix () |
| | Destructor. More...
|
| |
Definition at line 59 of file EpetraExt_BlockCrsMatrix.h.
| EpetraExt::BlockCrsMatrix::BlockCrsMatrix |
( |
const Epetra_CrsGraph & |
BaseGraph, |
|
|
const std::vector< int > & |
RowStencil, |
|
|
int |
RowIndex, |
|
|
const Epetra_Comm & |
GlobalComm |
|
) |
| |
BlockCrsMatrix constuctor with one block row per processor.
Creates a BlockCrsMatrix object and allocates storage.
- Parameters
-
| In | BaseGraph - Graph determining individual block structure, can be distrib. over subset of proc.'s |
| In | RowStencil - Describes the stencil for block row on this processor (i.e. (-1 0 1) centered difference) |
| In | RowIndex - Defines the index used for this block row. |
| EpetraExt::BlockCrsMatrix::BlockCrsMatrix |
( |
const Epetra_CrsGraph & |
BaseGraph, |
|
|
const std::vector< std::vector< int > > & |
RowStencil, |
|
|
const std::vector< int > & |
RowIndices, |
|
|
const Epetra_Comm & |
GlobalComm |
|
) |
| |
BlockCrsMatrix constuctor with multiple block rows per processor.
Creates a BlockCrsMatrix object and allocates storage.
- Parameters
-
| In | BaseGraph - Graph determining individual block structure, can be distrib. over subset of proc.'s |
| In | RowStencil - Describes the stencil for block row on this processor (i.e. (-1 0 1) centered difference) |
| In | RowIndices - Defines the indices used for this block row. |
| EpetraExt::BlockCrsMatrix::BlockCrsMatrix |
( |
const Epetra_CrsGraph & |
BaseGraph, |
|
|
const Epetra_CrsGraph & |
LocalBlockGraph, |
|
|
const Epetra_Comm & |
GlobalComm |
|
) |
| |
| EpetraExt::BlockCrsMatrix::BlockCrsMatrix |
( |
const Epetra_RowMatrix & |
BaseMatrix, |
|
|
const std::vector< std::vector< int > > & |
RowStencil, |
|
|
const std::vector< int > & |
RowIndices, |
|
|
const Epetra_Comm & |
GlobalComm |
|
) |
| |
| EpetraExt::BlockCrsMatrix::BlockCrsMatrix |
( |
const BlockCrsMatrix & |
Matrix | ) |
|
| EpetraExt::BlockCrsMatrix::~BlockCrsMatrix |
( |
| ) |
|
|
virtual |
| const std::vector<int>& EpetraExt::BlockCrsMatrix::Stencil |
( |
int |
i = 0 | ) |
|
|
inline |
| int EpetraExt::BlockCrsMatrix::RowIndex |
( |
int |
i = 0 | ) |
|
|
inline |
| void EpetraExt::BlockCrsMatrix::LoadBlock |
( |
const Epetra_RowMatrix & |
BaseMatrix, |
|
|
const int |
Row, |
|
|
const int |
Col |
|
) |
| |
Routine for loading a base matrices values into the large Block Matrix The Row and Col arguments are indices into RowStencil.
Definition at line 127 of file EpetraExt_BlockCrsMatrix.cpp.
| void EpetraExt::BlockCrsMatrix::SumIntoBlock |
( |
double |
alpha, |
|
|
const Epetra_RowMatrix & |
BaseMatrix, |
|
|
const int |
Row, |
|
|
const int |
Col |
|
) |
| |
Routine for summing base matrices values into the large Block Matrix The Row and Col arguments are indices into RowStencil.
Definition at line 162 of file EpetraExt_BlockCrsMatrix.cpp.
| void EpetraExt::BlockCrsMatrix::SumIntoGlobalBlock |
( |
double |
alpha, |
|
|
const Epetra_RowMatrix & |
BaseMatrix, |
|
|
const int |
Row, |
|
|
const int |
Col |
|
) |
| |
Routine for summing base matrices values into the large Block Matrix The Row and Col arguments are global indices.
Definition at line 199 of file EpetraExt_BlockCrsMatrix.cpp.
| void EpetraExt::BlockCrsMatrix::BlockSumIntoGlobalValues |
( |
const int |
BaseRow, |
|
|
int |
NumIndices, |
|
|
double * |
Values, |
|
|
const int * |
Indices, |
|
|
const int |
Row, |
|
|
const int |
Col |
|
) |
| |
Sum Entries into Block matrix using base-matrix numbering plus block Row and Col The Row and Col arguments are indices into RowStencil.
Definition at line 236 of file EpetraExt_BlockCrsMatrix.cpp.
| void EpetraExt::BlockCrsMatrix::BlockReplaceGlobalValues |
( |
const int |
BaseRow, |
|
|
int |
NumIndices, |
|
|
double * |
Values, |
|
|
const int * |
Indices, |
|
|
const int |
Row, |
|
|
const int |
Col |
|
) |
| |
| void EpetraExt::BlockCrsMatrix::BlockExtractGlobalRowView |
( |
const int |
BaseRow, |
|
|
int & |
NumEntries, |
|
|
double *& |
Values, |
|
|
const int |
Row, |
|
|
const int |
Col |
|
) |
| |
| void EpetraExt::BlockCrsMatrix::ExtractBlock |
( |
Epetra_CrsMatrix & |
BaseMatrix, |
|
|
const int |
Row, |
|
|
const int |
Col |
|
) |
| |
| Epetra_CrsGraph EpetraExt::BlockCrsMatrix::BaseGraph_ |
|
protected |
| std::vector< std::vector<int> > EpetraExt::BlockCrsMatrix::RowStencil_ |
|
protected |
| std::vector<int> EpetraExt::BlockCrsMatrix::RowIndices_ |
|
protected |
| int EpetraExt::BlockCrsMatrix::ROffset_ |
|
protected |
| int EpetraExt::BlockCrsMatrix::COffset_ |
|
protected |
The documentation for this class was generated from the following files: