42 #ifndef EPETRAEXT_BLOCKMULTIVECTOR_H
43 #define EPETRAEXT_BLOCKMULTIVECTOR_H
45 #if defined(EpetraExt_SHOW_DEPRECATED_WARNINGS)
47 #warning "The EpetraExt package is deprecated"
51 #include "Epetra_MultiVector.h"
52 #include "Teuchos_RCP.hpp"
108 Teuchos::RCP<const Epetra_MultiVector>
GetBlock(
long long BlockRow)
const;
111 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.