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_ |
Definition at line 48 of file TSFPartitionedMatrixFactory.hpp.
| 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 | ||
| ) |
Construct an uninitialized PartitionedMatrixFactory.
Definition at line 43 of file TSFPartitionedMatrixFactory.cpp.
References bcDomain_, bcRange_, blockFactory_, blockICMF_, TSFExtended::VectorType< Scalar >::createMatrixFactory(), highestLocalCol_, highestLocalRow_, internalDomain_, internalRange_, lowestLocalCol_, lowestLocalRow_, TSFExtended::VectorSpace< Scalar >::numLocalElements(), and rangeVecType_.
| virtual TSFExtended::PartitionedMatrixFactory::~PartitionedMatrixFactory | ( | ) | [inline, virtual] |
Definition at line 68 of file TSFPartitionedMatrixFactory.hpp.
| LinearOperator< double > PartitionedMatrixFactory::createMatrix | ( | ) | const [virtual] |
Implements TSFExtended::MatrixFactory< double >.
Definition at line 168 of file TSFPartitionedMatrixFactory.cpp.
References blockFactory_, domain_, TSFExtended::LinearOperator< Scalar >::endBlockFill(), isBCCol_, isBCRow_, lowestLocalCol_, lowestLocalRow_, range_, remoteBCCols_, and TSFExtended::LinearOperator< Scalar >::setBlock().
| 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.
| 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 TSFExtended::IncrementallyConfigurableMatrixFactory.
Definition at line 101 of file TSFPartitionedMatrixFactory.cpp.
References blockICMF_, highestLocalCol_, highestLocalRow_, isBCCol_, isBCRow_, lowestLocalCol_, lowestLocalRow_, and remoteBCCols_.
VectorSpace<double> TSFExtended::PartitionedMatrixFactory::bcDomain_ [private] |
Definition at line 93 of file TSFPartitionedMatrixFactory.hpp.
Referenced by PartitionedMatrixFactory().
VectorSpace<double> TSFExtended::PartitionedMatrixFactory::bcRange_ [private] |
Definition at line 101 of file TSFPartitionedMatrixFactory.hpp.
Referenced by PartitionedMatrixFactory().
Array<Array<RCP<MatrixFactory<double> > > > TSFExtended::PartitionedMatrixFactory::blockFactory_ [private] |
Definition at line 108 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix(), and PartitionedMatrixFactory().
Array<Array<IncrementallyConfigurableMatrixFactory*> > TSFExtended::PartitionedMatrixFactory::blockICMF_ [private] |
Definition at line 109 of file TSFPartitionedMatrixFactory.hpp.
Referenced by finalize(), initializeNonzerosInRow(), and PartitionedMatrixFactory().
VectorSpace<double> TSFExtended::PartitionedMatrixFactory::domain_ [private] |
Definition at line 91 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix().
VectorType<double> TSFExtended::PartitionedMatrixFactory::domainVecType_ [private] |
Definition at line 96 of file TSFPartitionedMatrixFactory.hpp.
int TSFExtended::PartitionedMatrixFactory::highestLocalCol_ [private] |
Definition at line 98 of file TSFPartitionedMatrixFactory.hpp.
Referenced by initializeNonzerosInRow(), and PartitionedMatrixFactory().
int TSFExtended::PartitionedMatrixFactory::highestLocalRow_ [private] |
Definition at line 105 of file TSFPartitionedMatrixFactory.hpp.
Referenced by initializeNonzerosInRow(), and PartitionedMatrixFactory().
VectorSpace<double> TSFExtended::PartitionedMatrixFactory::internalDomain_ [private] |
Definition at line 92 of file TSFPartitionedMatrixFactory.hpp.
Referenced by PartitionedMatrixFactory().
VectorSpace<double> TSFExtended::PartitionedMatrixFactory::internalRange_ [private] |
Definition at line 100 of file TSFPartitionedMatrixFactory.hpp.
Referenced by PartitionedMatrixFactory().
RCP<Array<int> > TSFExtended::PartitionedMatrixFactory::isBCCol_ [private] |
Definition at line 94 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix(), and initializeNonzerosInRow().
RCP<Array<int> > TSFExtended::PartitionedMatrixFactory::isBCRow_ [private] |
Definition at line 102 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix(), and initializeNonzerosInRow().
int TSFExtended::PartitionedMatrixFactory::lowestLocalCol_ [private] |
Definition at line 97 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix(), initializeNonzerosInRow(), and PartitionedMatrixFactory().
int TSFExtended::PartitionedMatrixFactory::lowestLocalRow_ [private] |
Definition at line 104 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix(), initializeNonzerosInRow(), and PartitionedMatrixFactory().
VectorSpace<double> TSFExtended::PartitionedMatrixFactory::range_ [private] |
Definition at line 99 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix().
VectorType<double> TSFExtended::PartitionedMatrixFactory::rangeVecType_ [private] |
Definition at line 103 of file TSFPartitionedMatrixFactory.hpp.
Referenced by PartitionedMatrixFactory().
RCP<std::set<int> > TSFExtended::PartitionedMatrixFactory::remoteBCCols_ [private] |
Definition at line 95 of file TSFPartitionedMatrixFactory.hpp.
Referenced by createMatrix(), and initializeNonzerosInRow().