EpetraExt::BlockUtility Class Reference

#include <EpetraExt_BlockUtility.h>

List of all members.

Static Public Member Functions

static Epetra_MapGenerateBlockMap (const Epetra_BlockMap &BaseMap, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm)
static Epetra_CrsGraphGenerateBlockGraph (const Epetra_CrsGraph &BaseGraph, const std::vector< std::vector< int > > &RowStencil, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm)
 BlockCrsMatrix constuctor.
static Epetra_CrsGraphGenerateBlockGraph (const Epetra_RowMatrix &BaseMatrix, const std::vector< std::vector< int > > &RowStencil, const std::vector< int > &RowIndices, const Epetra_Comm &GlobalComm)
static int CalculateOffset (const Epetra_BlockMap &BaseMap)
 Routine for calculating Offset for creating unique global IDs for Block representation.

Detailed Description

Definition at line 43 of file EpetraExt_BlockUtility.h.


Member Function Documentation

static Epetra_Map* EpetraExt::BlockUtility::GenerateBlockMap ( const Epetra_BlockMap BaseMap,
const std::vector< int > &  RowIndices,
const Epetra_Comm GlobalComm 
) [static]

Creates a BlockMap object

Parameters:
In BaseMap - Map determining individual block structure, can be distrib. over subset of proc.'s
In RowIndices - Defines the indices for local block rows
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

Parameters:
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]
int EpetraExt::BlockUtility::CalculateOffset ( const Epetra_BlockMap BaseMap  )  [static]

Routine for calculating Offset for creating unique global IDs for Block representation.

Definition at line 206 of file EpetraExt_BlockUtility.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:55 2011 for EpetraExt by  doxygen 1.6.3