EpetraExt::BlockMultiVector Class Reference

#include <EpetraExt_BlockMultiVector.h>

Inheritance diagram for EpetraExt::BlockMultiVector:

Inheritance graph
[legend]
List of all members.
 BlockMultiVector (const Epetra_BlockMap &BaseMap, const Epetra_BlockMap &GlobalMap, int NumVectors)
 BlockMultiVector constuctor with one block row per processor.
 BlockMultiVector (const BlockMultiVector &MV)
 Copy constructor.
virtual ~BlockMultiVector ()
 Destructor.

Public Member Functions

int ExtractBlockValues (Epetra_MultiVector &BaseVec, int BlockRow) const
 Extract a single block from a Block Vector: block row is global, not a stencil value.
int LoadBlockValues (const Epetra_MultiVector &BaseVec, int BlockRow)
 Load a single block into a Block Vector: block row is global, not a stencil value.

Protected Attributes

Epetra_BlockMap BaseMap_
int Offset_

Detailed Description

Definition at line 48 of file EpetraExt_BlockMultiVector.h.


Constructor & Destructor Documentation

EpetraExt::BlockMultiVector::BlockMultiVector ( const Epetra_BlockMap BaseMap,
const Epetra_BlockMap GlobalMap,
int  NumVectors 
)

BlockMultiVector constuctor with one block row per processor.

Creates a BlockMultiVector object and allocates storage.

Parameters:
In BaseMap - Map determining local structure, can be distrib. over subset of proc.'s
In GlobalMap - Full map describing the overall global structure, generally generated by the construction of a BlockCrsMatrix object
In NumVectors - Number of vectors in object

Definition at line 39 of file EpetraExt_BlockMultiVector.cpp.

EpetraExt::BlockMultiVector::BlockMultiVector ( const BlockMultiVector MV  ) 

Copy constructor.

Definition at line 51 of file EpetraExt_BlockMultiVector.cpp.

EpetraExt::BlockMultiVector::~BlockMultiVector (  )  [virtual]

Destructor.

Definition at line 59 of file EpetraExt_BlockMultiVector.cpp.


Member Function Documentation

int EpetraExt::BlockMultiVector::ExtractBlockValues ( Epetra_MultiVector BaseVec,
int  BlockRow 
) const

Extract a single block from a Block Vector: block row is global, not a stencil value.

Definition at line 64 of file EpetraExt_BlockMultiVector.cpp.

int EpetraExt::BlockMultiVector::LoadBlockValues ( const Epetra_MultiVector BaseVec,
int  BlockRow 
)

Load a single block into a Block Vector: block row is global, not a stencil value.

Definition at line 86 of file EpetraExt_BlockMultiVector.cpp.


Member Data Documentation

Epetra_BlockMap EpetraExt::BlockMultiVector::BaseMap_ [protected]

Definition at line 80 of file EpetraExt_BlockMultiVector.h.

int EpetraExt::BlockMultiVector::Offset_ [protected]

Definition at line 82 of file EpetraExt_BlockMultiVector.h.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:45:33 2009 for EpetraExt by doxygen 1.4.7