44#ifndef EPETRA_FEVBRMATRIX_H
45#define EPETRA_FEVBRMATRIX_H
77 int *NumBlockEntriesPerRow,
78 bool ignoreNonLocalEntries=
false);
96 int NumBlockEntriesPerRow,
97 bool ignoreNonLocalEntries=
false);
118 int *NumBlockEntriesPerRow,
119 bool ignoreNonLocalEntries=
false);
141 int NumBlockEntriesPerRow,
142 bool ignoreNonLocalEntries=
false);
148 bool ignoreNonLocalEntries=
false);
259 int NumRows,
int NumCols);
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
Epetra_CrsGraph: A class for constructing and using sparse compressed row graphs.
int GlobalAssemble(bool callFillComplete=true)
int numNonlocalBlockRows_
Epetra_FEVbrMatrix(Epetra_DataAccess CV, const Epetra_BlockMap &RowMap, int *NumBlockEntriesPerRow, bool ignoreNonLocalEntries=false)
Epetra_FEVbrMatrix constuctor with variable number of indices per row.
int * nonlocalBlockRowLengths_
int SetupForNonlocalSubmits(int BlockRow, int NumBlockEntries, int *BlockIndices, bool IndicesAreLocal, Epetra_CombineMode SubmitMode)
bool ignoreNonLocalEntries_
int InputNonlocalBlockEntry(double *Values, int LDA, int NumRows, int NumCols)
int ** nonlocalBlockCols_
int InsertNonlocalRow(int row, int offset, int numCols)
void destroyNonlocalData()
int * nonlocalBlockRowAllocLengths_
Epetra_SerialDenseMatrix *** nonlocalCoefs_
Epetra_SerialDenseMatrix: A class for constructing and using real double precision general dense matr...
bool IndicesAreLocal() const
If matrix indices has been transformed to local, this query returns true, otherwise it returns false.
int EndSubmitEntries()
Completes processing of all data passed in for the current block row.
int PutScalar(double ScalarConstant)
Initialize all values in graph of the matrix with constant value.
int SubmitBlockEntry(double *Values, int LDA, int NumRows, int NumCols)
Submit a block entry to the indicated block row and column specified in the Begin routine.
Epetra_VbrMatrix & operator=(const Epetra_VbrMatrix &src)
int BeginSumIntoGlobalValues(int BlockRow, int NumBlockEntries, int *BlockIndices)
Initiate summing into current values with this list of entries for a given global row of the matrix,...
int BeginInsertGlobalValues(int BlockRow, int NumBlockEntries, int *BlockIndices)
Initiate insertion of a list of elements in a given global row of the matrix, values are inserted via...
int BeginReplaceGlobalValues(int BlockRow, int NumBlockEntries, int *BlockIndices)
Initiate replacement of current values with this list of entries for a given global row of the matrix...
const Epetra_CrsGraph & Graph() const
Returns a pointer to the Epetra_CrsGraph object associated with this matrix.
const Epetra_BlockMap & ColMap() const
Returns the ColMap as an Epetra_BlockMap (the Epetra_Map base class) needed for implementing Epetra_R...
Epetra_SerialDenseMatrix *** Values() const
const Epetra_BlockMap & RowMap() const
Returns the RowMap object as an Epetra_BlockMap (the Epetra_Map base class) needed for implementing E...
Epetra_VbrMatrix(Epetra_DataAccess CV, const Epetra_BlockMap &RowMap, int *NumBlockEntriesPerRow)
Epetra_VbrMatrix constuctor with variable number of indices per row.