|
| virtual void | insertGlobalValues (GlobalOrdinal globalRow, const ArrayView< const GlobalOrdinal > &cols, const ArrayView< const Scalar > &vals)=0 |
| | Insert matrix entries, using global IDs. More...
|
| |
| virtual void | insertLocalValues (LocalOrdinal localRow, const ArrayView< const LocalOrdinal > &cols, const ArrayView< const Scalar > &vals)=0 |
| | Insert matrix entries, using local IDs. More...
|
| |
| virtual void | replaceGlobalValues (GlobalOrdinal globalRow, const ArrayView< const GlobalOrdinal > &cols, const ArrayView< const Scalar > &vals)=0 |
| | Replace matrix entries, using global IDs. More...
|
| |
| virtual void | replaceLocalValues (LocalOrdinal localRow, const ArrayView< const LocalOrdinal > &cols, const ArrayView< const Scalar > &vals)=0 |
| | Replace matrix entries, using local IDs. More...
|
| |
| virtual void | setAllToScalar (const Scalar &alpha)=0 |
| | Set all matrix entries equal to scalarThis. More...
|
| |
| virtual void | scale (const Scalar &alpha)=0 |
| | Scale the current values of a matrix, this = alpha*this. More...
|
| |
| virtual void | allocateAllValues (size_t numNonZeros, ArrayRCP< size_t > &rowptr, ArrayRCP< LocalOrdinal > &colind, ArrayRCP< Scalar > &values)=0 |
| | Allocates and returns ArrayRCPs of the Crs arrays — This is an Xpetra-only routine. More...
|
| |
| virtual void | setAllValues (const ArrayRCP< size_t > &rowptr, const ArrayRCP< LocalOrdinal > &colind, const ArrayRCP< Scalar > &values)=0 |
| | Sets the 1D pointer arrays of the graph. More...
|
| |
| virtual void | getAllValues (ArrayRCP< const size_t > &rowptr, ArrayRCP< const LocalOrdinal > &colind, ArrayRCP< const Scalar > &values) const =0 |
| | Gets the 1D pointer arrays of the graph. More...
|
| |
|
| virtual void | resumeFill (const RCP< ParameterList > ¶ms=null)=0 |
| |
| virtual void | fillComplete (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap, const RCP< ParameterList > ¶ms=null)=0 |
| | Signal that data entry is complete, specifying domain and range maps. More...
|
| |
| virtual void | fillComplete (const RCP< ParameterList > ¶ms=null)=0 |
| | Signal that data entry is complete. More...
|
| |
| virtual void | replaceDomainMapAndImporter (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &newDomainMap, Teuchos::RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > &newImporter)=0 |
| | Replaces the current domainMap and importer with the user-specified objects. More...
|
| |
| virtual void | expertStaticFillComplete (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap, const RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > &importer=Teuchos::null, const RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > &exporter=Teuchos::null, const RCP< ParameterList > ¶ms=Teuchos::null)=0 |
| | Expert static fill complete. More...
|
| |
|
| virtual const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > | getRowMap () const =0 |
| | Returns the Map that describes the row distribution in this matrix. More...
|
| |
| virtual const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > | getColMap () const =0 |
| | Returns the Map that describes the column distribution in this matrix. More...
|
| |
| virtual RCP< const CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > | getCrsGraph () const =0 |
| | Returns the CrsGraph associated with this matrix. More...
|
| |
| virtual global_size_t | getGlobalNumRows () const =0 |
| | Number of global elements in the row map of this matrix. More...
|
| |
| virtual global_size_t | getGlobalNumCols () const =0 |
| | Number of global columns in the matrix. More...
|
| |
| virtual size_t | getNodeNumRows () const =0 |
| | Returns the number of matrix rows owned on the calling node. More...
|
| |
| virtual global_size_t | getGlobalNumEntries () const =0 |
| | Returns the global number of entries in this matrix. More...
|
| |
| virtual size_t | getNodeNumEntries () const =0 |
| | Returns the local number of entries in this matrix. More...
|
| |
| virtual size_t | getNumEntriesInLocalRow (LocalOrdinal localRow) const =0 |
| | Returns the current number of entries on this node in the specified local row. More...
|
| |
| virtual size_t | getGlobalMaxNumRowEntries () const =0 |
| | Returns the maximum number of entries across all rows/columns on all nodes. More...
|
| |
| virtual size_t | getNodeMaxNumRowEntries () const =0 |
| | Returns the maximum number of entries across all rows/columns on this node. More...
|
| |
| virtual bool | isLocallyIndexed () const =0 |
| | If matrix indices are in the local range, this function returns true. Otherwise, this function returns false. More...
|
| |
| virtual bool | isGloballyIndexed () const =0 |
| | If matrix indices are in the global range, this function returns true. Otherwise, this function returns false. More...
|
| |
| virtual bool | isFillComplete () const =0 |
| | Returns true if the matrix is in compute mode, i.e. if fillComplete() has been called. More...
|
| |
| virtual bool | isFillActive () const =0 |
| | Returns true if the matrix is in edit mode. More...
|
| |
| virtual ScalarTraits< Scalar >::magnitudeType | getFrobeniusNorm () const =0 |
| | Returns the Frobenius norm of the matrix. More...
|
| |
| virtual bool | supportsRowViews () const =0 |
| | Returns true if getLocalRowView() and getGlobalRowView() are valid for this class. More...
|
| |
| virtual void | getGlobalRowView (GlobalOrdinal GlobalRow, ArrayView< const GlobalOrdinal > &indices, ArrayView< const Scalar > &values) const =0 |
| | Extract a const, non-persisting view of global indices in a specified row of the matrix. More...
|
| |
| virtual void | getGlobalRowCopy (GlobalOrdinal GlobalRow, const ArrayView< GlobalOrdinal > &indices, const ArrayView< Scalar > &values, size_t &numEntries) const =0 |
| | Extract a list of entries in a specified global row of this matrix. Put into pre-allocated storage. More...
|
| |
| virtual void | getLocalRowView (LocalOrdinal LocalRow, ArrayView< const LocalOrdinal > &indices, ArrayView< const Scalar > &values) const =0 |
| | Extract a const, non-persisting view of local indices in a specified row of the matrix. More...
|
| |
| virtual void | getLocalDiagCopy (Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &diag) const =0 |
| | Get a copy of the diagonal entries owned by this node, with local row indices. More...
|
| |
| virtual void | getLocalDiagOffsets (Teuchos::ArrayRCP< size_t > &offsets) const =0 |
| | Get offsets of the diagonal entries in the matrix. More...
|
| |
| virtual void | getLocalDiagCopy (Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &diag, const Teuchos::ArrayView< const size_t > &offsets) const =0 |
| | Get a copy of the diagonal entries owned by this node, with local row indices, using row offsets. More...
|
| |
| virtual void | leftScale (const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &x)=0 |
| | Left scale matrix using the given vector entries. More...
|
| |
| virtual void | rightScale (const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &x)=0 |
| | Right scale matrix using the given vector entries. More...
|
| |
| virtual void | removeEmptyProcessesInPlace (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &newMap)=0 |
| |
| virtual bool | haveGlobalConstants () const =0 |
| | Returns true if globalConstants have been computed; false otherwise. More...
|
| |
|
| virtual | ~RowMatrix () |
| | Destructor. More...
|
| |
| virtual const Teuchos::RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > | getRowMap () const=0 |
| | Returns the Map that describes the row distribution in this matrix. More...
|
| |
| virtual const Teuchos::RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > | getColMap () const=0 |
| | Returns the Map that describes the column distribution in this matrix. More...
|
| |
| virtual global_size_t | getGlobalNumRows () const=0 |
| | Returns the number of global rows in this matrix. More...
|
| |
| virtual global_size_t | getGlobalNumCols () const=0 |
| | Returns the number of global columns in this matrix. More...
|
| |
| virtual size_t | getNodeNumRows () const=0 |
| | Returns the number of rows owned on the calling node. More...
|
| |
| virtual size_t | getNodeNumCols () const=0 |
| | Returns the number of columns needed to apply the forward operator on this node, i.e., the number of elements listed in the column map. More...
|
| |
| virtual global_size_t | getGlobalNumEntries () const=0 |
| | Returns the global number of entries in this matrix. More...
|
| |
| virtual size_t | getNodeNumEntries () const=0 |
| | Returns the local number of entries in this matrix. More...
|
| |
| virtual size_t | getNumEntriesInLocalRow (CrsGraph<>::local_ordinal_type localRow) const=0 |
| | Returns the current number of entries on this node in the specified local row. More...
|
| |
| virtual size_t | getGlobalMaxNumRowEntries () const=0 |
| | Returns the maximum number of entries across all rows/columns on all nodes. More...
|
| |
| virtual size_t | getNodeMaxNumRowEntries () const=0 |
| | Returns the maximum number of entries across all rows/columns on this node. More...
|
| |
| virtual bool | isLocallyIndexed () const=0 |
| | If matrix indices are in the local range, this function returns true. Otherwise, this function returns false. */. More...
|
| |
| virtual bool | isGloballyIndexed () const=0 |
| | If matrix indices are in the global range, this function returns true. Otherwise, this function returns false. */. More...
|
| |
| virtual bool | isFillComplete () const=0 |
| | Returns true if fillComplete() has been called. More...
|
| |
| virtual bool | supportsRowViews () const=0 |
| | Returns true if getLocalRowView() and getGlobalRowView() are valid for this class. More...
|
| |
| virtual void | getLocalRowCopy (CrsGraph<>::local_ordinal_type LocalRow, const Teuchos::ArrayView< CrsGraph<>::local_ordinal_type > &Indices, const Teuchos::ArrayView< double > &Values, size_t &NumEntries) const=0 |
| | Extract a list of entries in a specified local row of the graph. Put into storage allocated by calling routine. More...
|
| |
| virtual void | getGlobalRowView (typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type GlobalRow, ArrayView< const typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type > &indices, ArrayView< const double > &values) const=0 |
| | Extract a const, non-persisting view of global indices in a specified row of the matrix. More...
|
| |
| virtual void | getLocalRowView (CrsGraph<>::local_ordinal_type LocalRow, ArrayView< const CrsGraph<>::local_ordinal_type > &indices, ArrayView< const double > &values) const=0 |
| | Extract a const, non-persisting view of local indices in a specified row of the matrix. More...
|
| |
| virtual void | getLocalDiagCopy (Vector< double, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &diag) const=0 |
| | Get a copy of the diagonal entries owned by this node, with local row indices. More...
|
| |
| virtual ScalarTraits< double >::magnitudeType | getFrobeniusNorm () const=0 |
| | Returns the Frobenius norm of the matrix. More...
|
| |
| virtual const Teuchos::RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > | getDomainMap () const=0 |
| | Returns the Map associated with the domain of this operator, which must be compatible with X.getMap(). More...
|
| |
| virtual const Teuchos::RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > | getRangeMap () const=0 |
| | Returns the Map associated with the range of this operator, which must be compatible with Y.getMap(). More...
|
| |
| virtual void | apply (const MultiVector< double, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &X, MultiVector< double, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, double alpha=Teuchos::ScalarTraits< double >::one(), double beta=Teuchos::ScalarTraits< double >::zero()) const=0 |
| | Computes the operator-multivector application. More...
|
| |
| virtual | ~DistObject () |
| | Destructor. More...
|
| |
| virtual void | doImport (const DistObject< char, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Import< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &importer, CombineMode CM)=0 |
| | Import data into this object using an Import object ("forward mode"). More...
|
| |
| virtual void | doImport (const DistObject< char, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Export< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &exporter, CombineMode CM)=0 |
| | Import data into this object using an Export object ("reverse mode"). More...
|
| |
| virtual void | doExport (const DistObject< char, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Export< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &exporter, CombineMode CM)=0 |
| | Export data into this object using an Export object ("forward mode"). More...
|
| |
| virtual void | doExport (const DistObject< char, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Import< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &importer, CombineMode CM)=0 |
| | Export data into this object using an Import object ("reverse mode"). More...
|
| |
| virtual Teuchos::RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > | getMap () const=0 |
| | The Map describing the parallel distribution of this object. More...
|
| |
| virtual std::string | description () const=0 |
| | One-line descriptiion of this object. More...
|
| |
| void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
| |
| virtual | ~Describable () |
| |
| DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
| |
| std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
| |
| void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
| |
| virtual | ~Describable () |
| |
| | LabeledObject () |
| |
| virtual | ~LabeledObject () |
| |
| virtual void | setObjectLabel (const std::string &objectLabel) |
| |
| virtual std::string | getObjectLabel () const |
| |
| static const EVerbosityLevel | verbLevel_default |
| |
template<class Scalar = double, class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
class Xpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >
Definition at line 73 of file Xpetra_CrsMatrix.hpp.