Public Member Functions | |
EpetraMatrixFactory (const RCP< const EpetraVectorSpace > &domain, const RCP< const EpetraVectorSpace > &range) | |
const RCP< const EpetraVectorSpace > & | epRange () const |
const RCP< const EpetraVectorSpace > & | epDomain () const |
virtual void | initializeNonzerosInRow (int globalRowIndex, int nElemsToInsert, const int *globalColumnIndices) |
virtual void | initializeNonzeroBatch (int numRows, int rowBlockSize, const int *globalRowIndices, int numColumnsPerRow, const int *globalColumnIndices, const int *skipRow) |
virtual void | configure (int lowestRow, const std::vector< int > &rowPtrs, const std::vector< int > &nnzPerRow, const std::vector< int > &data) |
void | finalize () |
const Epetra_CrsGraph & | graph () const |
virtual LinearOperator< double > | createMatrix () const |
Definition at line 22 of file PlayaEpetraMatrixFactory.hpp.
Playa::EpetraMatrixFactory::EpetraMatrixFactory | ( | const RCP< const EpetraVectorSpace > & | domain, | |
const RCP< const EpetraVectorSpace > & | range | |||
) |
Construct an uninitialized EpetraMatrixFactory
Definition at line 26 of file PlayaEpetraMatrixFactory.cpp.
const RCP<const EpetraVectorSpace>& Playa::EpetraMatrixFactory::epRange | ( | ) | const [inline] |
Definition at line 33 of file PlayaEpetraMatrixFactory.hpp.
const RCP<const EpetraVectorSpace>& Playa::EpetraMatrixFactory::epDomain | ( | ) | const [inline] |
Definition at line 36 of file PlayaEpetraMatrixFactory.hpp.
void Playa::EpetraMatrixFactory::initializeNonzerosInRow | ( | int | globalRowIndex, | |
int | nElemsToInsert, | |||
const int * | globalColumnIndices | |||
) | [virtual] |
Initialize a set of nonzero elements in the matrix's graph.
globalRowIndex | the global index of the row to which these elements belong. | |
nElemsToInsert | the number of elements being inserted in this step | |
globalColumnIndices | array of column indices. Must be nElemsToInsert in length. |
Implements Playa::IncrementallyConfigurableMatrixFactory.
Definition at line 53 of file PlayaEpetraMatrixFactory.cpp.
void Playa::EpetraMatrixFactory::initializeNonzeroBatch | ( | int | numRows, | |
int | rowBlockSize, | |||
const int * | globalRowIndices, | |||
int | numColumnsPerRow, | |||
const int * | globalColumnIndices, | |||
const int * | skipRow | |||
) | [virtual] |
Initialize nonzeros in a batch of rows.
Reimplemented from Playa::IncrementallyConfigurableMatrixFactory.
Definition at line 69 of file PlayaEpetraMatrixFactory.cpp.
void Playa::EpetraMatrixFactory::configure | ( | int | lowestRow, | |
const std::vector< int > & | rowPtrs, | |||
const std::vector< int > & | nnzPerRow, | |||
const std::vector< int > & | data | |||
) | [virtual] |
Configure all rows at once
Implements Playa::CollectivelyConfigurableMatrixFactory.
Definition at line 92 of file PlayaEpetraMatrixFactory.cpp.
void Playa::EpetraMatrixFactory::finalize | ( | ) | [virtual] |
Implements Playa::IncrementallyConfigurableMatrixFactory.
Definition at line 35 of file PlayaEpetraMatrixFactory.cpp.
const Epetra_CrsGraph & Playa::EpetraMatrixFactory::graph | ( | ) | const |
Definition at line 111 of file PlayaEpetraMatrixFactory.cpp.
LinearOperator< double > Playa::EpetraMatrixFactory::createMatrix | ( | ) | const [virtual] |
Implements Playa::MatrixFactory< double >.
Definition at line 117 of file PlayaEpetraMatrixFactory.cpp.