42 #ifndef EPETRAEXT_BLOCKMULTIVECTOR_H
43 #define EPETRAEXT_BLOCKMULTIVECTOR_H
45 #include "Epetra_MultiVector.h"
46 #include "Teuchos_RCP.hpp"
102 Teuchos::RCP<const Epetra_MultiVector>
GetBlock(
long long BlockRow)
const;
105 Teuchos::RCP<Epetra_MultiVector>
GetBlock(
long long BlockRow);
int ExtractBlockValues(Epetra_MultiVector &BaseVec, long long BlockRow) const
Extract a single block from a Block Vector: block row is global, not a stencil value.
virtual ~BlockMultiVector()
Destructor.
const Epetra_BlockMap & GetBaseMap() const
Return base map.
BlockMultiVector(const Epetra_BlockMap &BaseMap, const Epetra_BlockMap &GlobalMap, int NumVectors)
BlockMultiVector constuctor with one block row per processor.
int LoadBlockValues(const Epetra_MultiVector &BaseVec, long long BlockRow)
Load a single block into a Block Vector: block row is global, not a stencil value.
Teuchos::RCP< const Epetra_MultiVector > GetBlock(long long BlockRow) const
Return Epetra_MultiVector for given block row.