|
EpetraExt
Development
|
#include <EpetraExt_BlockUtility.h>
Static Public Member Functions | |
| static Epetra_Map * | GenerateBlockMap (const Epetra_BlockMap &BaseMap, const int *RowIndices, int num_indices, const Epetra_Comm &GlobalComm, int Offset=0) |
| static Epetra_Map * | GenerateBlockMap (const Epetra_BlockMap &BaseMap, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm, int Offset=0) |
| static Epetra_Map * | GenerateBlockMap (const Epetra_BlockMap &BaseMap, const Epetra_BlockMap &BlockMap, const Epetra_Comm &GlobalComm, int Offset=0) |
| static Epetra_CrsGraph * | GenerateBlockGraph (const Epetra_CrsGraph &BaseGraph, const std::vector< std::vector< int > > &RowStencil, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm) |
| BlockCrsMatrix constuctor. | |
| static Epetra_CrsGraph * | GenerateBlockGraph (const Epetra_RowMatrix &BaseMatrix, const std::vector< std::vector< int > > &RowStencil, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm) |
| static Epetra_CrsGraph * | GenerateBlockGraph (const Epetra_CrsGraph &BaseGraph, const Epetra_CrsGraph &LocalBlockGraph, const Epetra_Comm &GlobalComm) |
| Generate global block graph using base graph and local block graph. | |
| static void | GenerateRowStencil (const Epetra_CrsGraph &LocalBlockGraph, std::vector< int > RowIndices, std::vector< std::vector< int > > &RowStencil) |
| Generate stencil arrays from a local block graph. | |
| static int | CalculateOffset (const Epetra_BlockMap &BaseMap) |
| Routine for calculating Offset for creating unique global IDs for Block representation. | |
Definition at line 54 of file EpetraExt_BlockUtility.h.
| Epetra_Map * EpetraExt::BlockUtility::GenerateBlockMap | ( | const Epetra_BlockMap & | BaseMap, |
| const int * | RowIndices, | ||
| int | num_indices, | ||
| const Epetra_Comm & | GlobalComm, | ||
| int | Offset = 0 |
||
| ) | [static] |
Creates a BlockMap object
| In | BaseMap - Map determining individual block structure, can be distrib. over subset of proc.'s |
| In | RowIndices - Defines the indices for local block rows |
Definition at line 51 of file EpetraExt_BlockUtility.cpp.
| Epetra_Map * EpetraExt::BlockUtility::GenerateBlockMap | ( | const Epetra_BlockMap & | BaseMap, |
| const std::vector< int > & | RowIndices, | ||
| const Epetra_Comm & | GlobalComm, | ||
| int | Offset = 0 |
||
| ) | [static] |
Creates a BlockMap object
| In | BaseMap - Map determining individual block structure, can be distrib. over subset of proc.'s |
| In | RowIndices - Defines the indices for local block rows |
Definition at line 86 of file EpetraExt_BlockUtility.cpp.
| Epetra_Map * EpetraExt::BlockUtility::GenerateBlockMap | ( | const Epetra_BlockMap & | BaseMap, |
| const Epetra_BlockMap & | BlockMap, | ||
| const Epetra_Comm & | GlobalComm, | ||
| int | Offset = 0 |
||
| ) | [static] |
Creates a BlockMap object
| In | BaseMap - Map determining individual block structure, can be distrib. over subset of proc.'s |
| In | RowIndices - Defines the indices for local block rows |
Definition at line 97 of file EpetraExt_BlockUtility.cpp.
| static Epetra_CrsGraph* EpetraExt::BlockUtility::GenerateBlockGraph | ( | const Epetra_CrsGraph & | BaseGraph, |
| const std::vector< std::vector< int > > & | RowStencil, | ||
| const std::vector< int > & | RowIndices, | ||
| const Epetra_Comm & | GlobalComm | ||
| ) | [static] |
BlockCrsMatrix constuctor.
Creates a BlockGraph object
| In | BaseGraph - Graph determining individual block structure, can be distrib. over subset of proc.'s |
| In | RowStencil - Describes the stencil for block rows on this processor (i.e. (-1 0 1) centered difference) |
| In | RowIndices - Defines the indices for local block rows |
| static Epetra_CrsGraph* EpetraExt::BlockUtility::GenerateBlockGraph | ( | const Epetra_RowMatrix & | BaseMatrix, |
| const std::vector< std::vector< int > > & | RowStencil, | ||
| const std::vector< int > & | RowIndices, | ||
| const Epetra_Comm & | GlobalComm | ||
| ) | [static] |
| Epetra_CrsGraph * EpetraExt::BlockUtility::GenerateBlockGraph | ( | const Epetra_CrsGraph & | BaseGraph, |
| const Epetra_CrsGraph & | LocalBlockGraph, | ||
| const Epetra_Comm & | GlobalComm | ||
| ) | [static] |
Generate global block graph using base graph and local block graph.
Definition at line 246 of file EpetraExt_BlockUtility.cpp.
| void EpetraExt::BlockUtility::GenerateRowStencil | ( | const Epetra_CrsGraph & | LocalBlockGraph, |
| std::vector< int > | RowIndices, | ||
| std::vector< std::vector< int > > & | RowStencil | ||
| ) | [static] |
Generate stencil arrays from a local block graph.
Definition at line 320 of file EpetraExt_BlockUtility.cpp.
| int EpetraExt::BlockUtility::CalculateOffset | ( | const Epetra_BlockMap & | BaseMap | ) | [static] |
Routine for calculating Offset for creating unique global IDs for Block representation.
Definition at line 357 of file EpetraExt_BlockUtility.cpp.
1.7.6.1