42 #ifndef EPETRAEXT_BLOCKVECTOR_H 43 #define EPETRAEXT_BLOCKVECTOR_H 45 #include "Epetra_Vector.h" 46 #include "Teuchos_RCP.hpp" 73 BlockVector(
const Epetra_BlockMap & BaseMap,
const Epetra_BlockMap & GlobalMap);
84 BlockVector(Epetra_DataAccess CV,
const Epetra_BlockMap & BaseMap,
85 const Epetra_Vector & BlockVec);
102 int* Indices,
int BlockRow);
105 int* Indices,
int BlockRow);
108 Teuchos::RCP<const Epetra_Vector>
GetBlock(
int BlockRow)
const;
111 Teuchos::RCP<Epetra_Vector>
GetBlock(
int BlockRow);
Teuchos::RCP< const Epetra_Vector > GetBlock(int BlockRow) const
Return Epetra_Vector for given block row.
int BlockSumIntoGlobalValues(int NumIndices, double *Values, int *Indices, int BlockRow)
Load entries into BlockVector with base vector indices offset by BlockRow.
int BlockReplaceGlobalValues(int NumIndices, double *Values, int *Indices, int BlockRow)
Load entries into BlockVector with base vector indices offset by BlockRow.
virtual ~BlockVector()
Destructor.
int ExtractBlockValues(Epetra_Vector &BaseVec, int BlockRow) const
Extract a single block from a Block Vector: block row is global, not a stencil value.
EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.
int LoadBlockValues(const Epetra_Vector &BaseVec, int BlockRow)
Load a single block into a Block Vector: block row is global, not a stencil value.
BlockVector(const Epetra_BlockMap &BaseMap, const Epetra_BlockMap &GlobalMap)
BlockVector constuctor with one block row per processor.
const Epetra_BlockMap & GetBaseMap() const
Return base map.