42#ifndef EPETRAEXT_BLOCKVECTOR_H
43#define EPETRAEXT_BLOCKVECTOR_H
45#if defined(EpetraExt_SHOW_DEPRECATED_WARNINGS)
47#warning "The EpetraExt package is deprecated"
51#include "Epetra_ConfigDefs.h"
52#include "Epetra_Vector.h"
53#include "Teuchos_RCP.hpp"
107#ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
110 int* Indices,
int BlockRow);
113 int* Indices,
int BlockRow);
116#ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
119 long long* Indices,
long long BlockRow);
122 long long* Indices,
long long BlockRow);
126 Teuchos::RCP<const Epetra_Vector>
GetBlock(
long long BlockRow)
const;
129 Teuchos::RCP<Epetra_Vector>
GetBlock(
long long BlockRow);
int BlockReplaceGlobalValues(int NumIndices, double *Values, int *Indices, int BlockRow)
Load entries into BlockVector with base vector indices offset by BlockRow.
const Epetra_BlockMap & GetBaseMap() const
Return base map.
int ExtractBlockValues(Epetra_Vector &BaseVec, long long BlockRow) const
Extract a single block from a Block Vector: block row is global, not a stencil value.
virtual ~BlockVector()
Destructor.
int BlockSumIntoGlobalValues(int NumIndices, double *Values, int *Indices, int BlockRow)
Load entries into BlockVector with base vector indices offset by BlockRow.
Teuchos::RCP< const Epetra_Vector > GetBlock(long long BlockRow) const
Return Epetra_Vector for given block row.
int LoadBlockValues(const Epetra_Vector &BaseVec, long long BlockRow)
Load a single block into a Block Vector: block row is global, not a stencil value.
EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.