EpetraExt
Development
|
#include <EpetraExt_BlockUtility.h>
Public Member Functions | |
template<typename int_type > | |
Epetra_CrsGraph * | TGenerateBlockGraph (const Epetra_CrsGraph &BaseGraph, const vector< vector< int_type > > &RowStencil, const vector< int_type > &RowIndices, const Epetra_Comm &GlobalComm) |
template<typename int_type > | |
Epetra_CrsGraph * | TGenerateBlockGraph (const Epetra_RowMatrix &BaseMatrix, const vector< vector< int_type > > &RowStencil, const vector< int_type > &RowIndices, const Epetra_Comm &GlobalComm) |
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 long long *RowIndices, int num_indices, const Epetra_Comm &GlobalComm, long long 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 std::vector< long long > &RowIndices, const Epetra_Comm &GlobalComm, long long 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. More... | |
static Epetra_CrsGraph * | GenerateBlockGraph (const Epetra_CrsGraph &BaseGraph, const std::vector< std::vector< long long > > &RowStencil, const std::vector< long long > &RowIndices, const Epetra_Comm &GlobalComm) |
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_RowMatrix &BaseMatrix, const std::vector< std::vector< long long > > &RowStencil, const std::vector< long long > &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. More... | |
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. More... | |
static void | GenerateRowStencil (const Epetra_CrsGraph &LocalBlockGraph, std::vector< long long > RowIndices, std::vector< std::vector< long long > > &RowStencil) |
static int | CalculateOffset (const Epetra_BlockMap &BaseMap) |
Routine for calculating Offset for creating unique global IDs for Block representation. More... | |
static long long | CalculateOffset64 (const Epetra_BlockMap &BaseMap) |
Definition at line 61 of file EpetraExt_BlockUtility.h.
|
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 88 of file EpetraExt_BlockUtility.cpp.
|
static |
Definition at line 103 of file EpetraExt_BlockUtility.cpp.
|
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 118 of file EpetraExt_BlockUtility.cpp.
|
static |
Definition at line 130 of file EpetraExt_BlockUtility.cpp.
|
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 142 of file EpetraExt_BlockUtility.cpp.
|
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 |
|
static |
|
static |
|
static |
Generate global block graph using base graph and local block graph.
Definition at line 441 of file EpetraExt_BlockUtility.cpp.
|
static |
Generate stencil arrays from a local block graph.
Definition at line 498 of file EpetraExt_BlockUtility.cpp.
|
static |
Definition at line 510 of file EpetraExt_BlockUtility.cpp.
|
static |
Routine for calculating Offset for creating unique global IDs for Block representation.
Definition at line 537 of file EpetraExt_BlockUtility.cpp.
|
static |
Definition at line 546 of file EpetraExt_BlockUtility.cpp.
Epetra_CrsGraph* EpetraExt::BlockUtility::TGenerateBlockGraph | ( | const Epetra_CrsGraph & | BaseGraph, |
const vector< vector< int_type > > & | RowStencil, | ||
const vector< int_type > & | RowIndices, | ||
const Epetra_Comm & | GlobalComm | ||
) |
Definition at line 171 of file EpetraExt_BlockUtility.cpp.
Epetra_CrsGraph* EpetraExt::BlockUtility::TGenerateBlockGraph | ( | const Epetra_RowMatrix & | BaseMatrix, |
const vector< vector< int_type > > & | RowStencil, | ||
const vector< int_type > & | RowIndices, | ||
const Epetra_Comm & | GlobalComm | ||
) |
Definition at line 267 of file EpetraExt_BlockUtility.cpp.