Playa::IncrementallyConfigurableMatrixFactory Class Reference

Inheritance diagram for Playa::IncrementallyConfigurableMatrixFactory:

Playa::EpetraMatrixFactory

List of all members.

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


Detailed Description

Class IncrementallyConfigurableMatrixFactory provides an abstract interface for row-at-a-time configuration of matrix factories.

Definition at line 16 of file PlayaIncrementallyConfigurableMatrixFactory.hpp.


Constructor & Destructor Documentation

virtual Playa::IncrementallyConfigurableMatrixFactory::~IncrementallyConfigurableMatrixFactory (  )  [inline, virtual]

Virtual dtor

Definition at line 20 of file PlayaIncrementallyConfigurableMatrixFactory.hpp.


Member Function Documentation

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 Playa::HeatOperator1D::HeatOperator1D(), Playa::MassMatrix1D::init(), Playa::MatrixLaplacian1D::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 56 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.

Parameters:
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(), Playa::MassMatrix1D::init(), Playa::MatrixLaplacian1D::init(), and Playa::PoissonBoltzmannJacobian::setEvalPoint().

Site Contact