Public Member Functions | |
| virtual | ~IncrementallyConfigurableMatrixFactory () |
| virtual void | initializeNonzerosInRow (int globalRowIndex, int nElemsToInsert, const int *globalColumnIndices)=0 |
| virtual void | initializeNonzeroBatch (int numRows, int rowBlockSize, const int *globalRowIndices, int numColumnsPerRow, const int *globalColumnIndices, const int *skipRow) |
| virtual void | finalize ()=0 |
Class IncrementallyConfigurableMatrixFactory provides an abstract interface for row-at-a-time configuration of matrix factories.
Definition at line 53 of file PlayaIncrementallyConfigurableMatrixFactory.hpp.
| virtual Playa::IncrementallyConfigurableMatrixFactory::~IncrementallyConfigurableMatrixFactory | ( | ) | [inline, virtual] |
Virtual dtor
Definition at line 57 of file PlayaIncrementallyConfigurableMatrixFactory.hpp.
| virtual void Playa::IncrementallyConfigurableMatrixFactory::finalize | ( | ) | [pure virtual] |
Finalize values of the matrix. This is a hook for any implementation-dependent steps that must be done after loading of elements.
Implemented in Playa::EpetraMatrixFactory.
Referenced by Sundance::Assembler::configureMatrixBlock(), Playa::HeatOperator1D::HeatOperator1D(), Playa::MatrixLaplacian1D::init(), Playa::MassMatrix1D::init(), and Playa::PoissonBoltzmannJacobian::setEvalPoint().
| void Playa::IncrementallyConfigurableMatrixFactory::initializeNonzeroBatch | ( | int | numRows, |
| int | rowBlockSize, | ||
| const int * | globalRowIndices, | ||
| int | numColumnsPerRow, | ||
| const int * | globalColumnIndices, | ||
| const int * | skipRow | ||
| ) | [inline, virtual] |
Initialize nonzeros in a batch of rows.
Reimplemented in Playa::EpetraMatrixFactory.
Definition at line 93 of file PlayaIncrementallyConfigurableMatrixFactory.hpp.
| virtual void Playa::IncrementallyConfigurableMatrixFactory::initializeNonzerosInRow | ( | int | globalRowIndex, |
| int | nElemsToInsert, | ||
| const int * | globalColumnIndices | ||
| ) | [pure 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. |
Implemented in Playa::EpetraMatrixFactory.
Referenced by Playa::HeatOperator1D::HeatOperator1D(), Sundance::Assembler::incrementalGetGraph(), Playa::MatrixLaplacian1D::init(), Playa::MassMatrix1D::init(), and Playa::PoissonBoltzmannJacobian::setEvalPoint().