EpetraExt::BlockVector Class Reference

#include <EpetraExt_BlockVector.h>

Inheritance diagram for EpetraExt::BlockVector:

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

Public Member Functions

int ExtractBlockValues (Epetra_Vector &BaseVec, int BlockRow) const
 Extract a single block from a Block Vector: block row is global, not a stencil value.
int LoadBlockValues (const Epetra_Vector &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_BlockVector.h.


Constructor & Destructor Documentation

EpetraExt::BlockVector::BlockVector ( const Epetra_BlockMap BaseMap,
const Epetra_BlockMap GlobalMap 
)

BlockVector constuctor with one block row per processor.

Creates a BlockVector 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 NumBlocks - Number of local blocks

Definition at line 38 of file EpetraExt_BlockVector.cpp.

EpetraExt::BlockVector::BlockVector ( const BlockVector MV  ) 

Copy constructor.

Definition at line 49 of file EpetraExt_BlockVector.cpp.

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

Destructor.

Definition at line 57 of file EpetraExt_BlockVector.cpp.


Member Function Documentation

int EpetraExt::BlockVector::ExtractBlockValues ( Epetra_Vector BaseVec,
int  BlockRow 
) const

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

Definition at line 62 of file EpetraExt_BlockVector.cpp.

int EpetraExt::BlockVector::LoadBlockValues ( const Epetra_Vector BaseVec,
int  BlockRow 
)

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

Definition at line 83 of file EpetraExt_BlockVector.cpp.


Member Data Documentation

Epetra_BlockMap EpetraExt::BlockVector::BaseMap_ [protected]

Definition at line 79 of file EpetraExt_BlockVector.h.

int EpetraExt::BlockVector::Offset_ [protected]

Definition at line 81 of file EpetraExt_BlockVector.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