Public Member Functions | Private Attributes
TSFExtended::PartitionedMatrixFactory Class Reference
Inheritance diagram for TSFExtended::PartitionedMatrixFactory:
TSFExtended::MatrixFactory< double > TSFExtended::IncrementallyConfigurableMatrixFactory

List of all members.

Public Member Functions

 PartitionedMatrixFactory (const VectorSpace< double > &domain, int lowestLocalCol, const RCP< Array< int > > &isBCCol, const RCP< std::set< int > > &remoteBCCols, const VectorType< double > &domainVecType, const VectorSpace< double > &range, int lowestLocalRow, const RCP< Array< int > > &isBCRow, const VectorType< double > &rangeType)
 Construct an uninitialized PartitionedMatrixFactory.
virtual ~PartitionedMatrixFactory ()
virtual void initializeNonzerosInRow (int globalRowIndex, int nElemsToInsert, const int *globalColumnIndices)
 Initialize a set of nonzero elements in the matrix's graph.
void finalize ()
 Finalize values of the matrix.
virtual LinearOperator< double > createMatrix () const

Private Attributes

VectorSpace< double > domain_
VectorSpace< double > internalDomain_
VectorSpace< double > bcDomain_
RCP< Array< int > > isBCCol_
RCP< std::set< int > > remoteBCCols_
VectorType< double > domainVecType_
int lowestLocalCol_
int highestLocalCol_
VectorSpace< double > range_
VectorSpace< double > internalRange_
VectorSpace< double > bcRange_
RCP< Array< int > > isBCRow_
VectorType< double > rangeVecType_
int lowestLocalRow_
int highestLocalRow_
Array< Array< RCP
< MatrixFactory< double > > > > 
blockFactory_
Array< Array
< IncrementallyConfigurableMatrixFactory * > > 
blockICMF_

Detailed Description

Definition at line 48 of file TSFPartitionedMatrixFactory.hpp.


Constructor & Destructor Documentation

PartitionedMatrixFactory::PartitionedMatrixFactory ( const VectorSpace< double > &  domain,
int  lowestLocalCol,
const RCP< Array< int > > &  isBCCol,
const RCP< std::set< int > > &  remoteBCCols,
const VectorType< double > &  domainVecType,
const VectorSpace< double > &  range,
int  lowestLocalRow,
const RCP< Array< int > > &  isBCRow,
const VectorType< double > &  rangeType 
)
virtual TSFExtended::PartitionedMatrixFactory::~PartitionedMatrixFactory ( ) [inline, virtual]

Definition at line 68 of file TSFPartitionedMatrixFactory.hpp.


Member Function Documentation

LinearOperator< double > PartitionedMatrixFactory::createMatrix ( ) const [virtual]
void PartitionedMatrixFactory::finalize ( ) [virtual]

Finalize values of the matrix.

This is a hook for any implementation-dependent steps that must be done after loading of elements.

Implements TSFExtended::IncrementallyConfigurableMatrixFactory.

Definition at line 160 of file TSFPartitionedMatrixFactory.cpp.

References blockICMF_.

void PartitionedMatrixFactory::initializeNonzerosInRow ( int  globalRowIndex,
int  nElemsToInsert,
const int *  globalColumnIndices 
) [virtual]

Initialize a set of nonzero elements in the matrix's graph.

Parameters:
globalRowIndexthe global index of the row to which these elements belong.
nElemsToInsertthe number of elements being inserted in this step
globalColumnIndicesarray of column indices. Must be nElemsToInsert in length.

Implements TSFExtended::IncrementallyConfigurableMatrixFactory.

Definition at line 101 of file TSFPartitionedMatrixFactory.cpp.

References blockICMF_, highestLocalCol_, highestLocalRow_, isBCCol_, isBCRow_, lowestLocalCol_, lowestLocalRow_, and remoteBCCols_.


Member Data Documentation

Definition at line 93 of file TSFPartitionedMatrixFactory.hpp.

Referenced by PartitionedMatrixFactory().

Definition at line 101 of file TSFPartitionedMatrixFactory.hpp.

Referenced by PartitionedMatrixFactory().

Definition at line 108 of file TSFPartitionedMatrixFactory.hpp.

Referenced by createMatrix(), and PartitionedMatrixFactory().

Definition at line 91 of file TSFPartitionedMatrixFactory.hpp.

Referenced by createMatrix().

Definition at line 96 of file TSFPartitionedMatrixFactory.hpp.

Definition at line 92 of file TSFPartitionedMatrixFactory.hpp.

Referenced by PartitionedMatrixFactory().

Definition at line 100 of file TSFPartitionedMatrixFactory.hpp.

Referenced by PartitionedMatrixFactory().

Definition at line 94 of file TSFPartitionedMatrixFactory.hpp.

Referenced by createMatrix(), and initializeNonzerosInRow().

Definition at line 102 of file TSFPartitionedMatrixFactory.hpp.

Referenced by createMatrix(), and initializeNonzerosInRow().

Definition at line 99 of file TSFPartitionedMatrixFactory.hpp.

Referenced by createMatrix().

Definition at line 103 of file TSFPartitionedMatrixFactory.hpp.

Referenced by PartitionedMatrixFactory().

Definition at line 95 of file TSFPartitionedMatrixFactory.hpp.

Referenced by createMatrix(), and initializeNonzerosInRow().

Site Contact