|
Xpetra Version of the Day
|
#include <Xpetra_TpetraCrsGraph_def.hpp>
Private Types | |
| typedef int | LocalOrdinal |
| typedef int | GlobalOrdinal |
| typedef EpetraNode | Node |
| typedef TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node > | TpetraCrsGraphClass |
| typedef Map< LocalOrdinal, GlobalOrdinal, Node > | map_type |
Constructor/Destructor Methods | |
| TpetraCrsGraph (const RCP< const map_type > &rowMap, size_t maxNumEntriesPerRow, const RCP< ParameterList > ¶ms=null) | |
| Constructor specifying fixed number of entries for each row. More... | |
| TpetraCrsGraph (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, const RCP< ParameterList > ¶ms=null) | |
| Constructor specifying (possibly different) number of entries in each row. More... | |
| TpetraCrsGraph (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, size_t maxNumEntriesPerRow, const RCP< ParameterList > ¶ms=null) | |
| Constructor specifying column Map and fixed number of entries for each row. More... | |
| TpetraCrsGraph (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, const RCP< ParameterList > ¶ms=null) | |
| Constructor specifying column Map and number of entries in each row. More... | |
| virtual | ~TpetraCrsGraph () |
| Destructor. More... | |
Insertion/Removal Methods | |
| void | insertGlobalIndices (GlobalOrdinal globalRow, const ArrayView< const GlobalOrdinal > &indices) |
| Insert global indices into the graph. More... | |
| void | insertLocalIndices (const LocalOrdinal localRow, const ArrayView< const LocalOrdinal > &indices) |
| Insert local indices into the graph. More... | |
| void | removeLocalIndices (LocalOrdinal localRow) |
| Remove all graph indices from the specified local row. More... | |
| void | allocateAllIndices (size_t numNonZeros, ArrayRCP< size_t > &rowptr, ArrayRCP< LocalOrdinal > &colind) |
| Allocates the 1D pointer arrays of the graph. More... | |
| void | setAllIndices (const ArrayRCP< size_t > &rowptr, const ArrayRCP< LocalOrdinal > &colind) |
| Sets the 1D pointer arrays of the graph. More... | |
| void | getAllIndices (ArrayRCP< const size_t > &rowptr, ArrayRCP< const LocalOrdinal > &colind) const |
| Gets the 1D pointer arrays of the graph. More... | |
Transformational Methods | |
| void | fillComplete (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap, const RCP< ParameterList > ¶ms=null) |
| Signal that data entry is complete, specifying domain and range maps. More... | |
| void | fillComplete (const RCP< ParameterList > ¶ms=null) |
| Signal that data entry is complete. More... | |
| void | expertStaticFillComplete (const Teuchos::RCP< const map_type > &domainMap, const Teuchos::RCP< const map_type > &rangeMap, const Teuchos::RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > &importer=null, const Teuchos::RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > &exporter=null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=null) |
| Expert version of fillComplete. More... | |
Methods implementing RowGraph. | |
| RCP< const Comm< int > > | getComm () const |
| Returns the communicator. More... | |
| RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > | getRowMap () const |
| Returns the Map that describes the row distribution in this graph. More... | |
| RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > | getColMap () const |
| Returns the Map that describes the column distribution in this graph. More... | |
| RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > | getDomainMap () const |
| Returns the Map associated with the domain of this graph. More... | |
| RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > | getRangeMap () const |
| Returns the Map associated with the domain of this graph. More... | |
| RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > | getImporter () const |
| Returns the importer associated with this graph. More... | |
| RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > | getExporter () const |
| Returns the exporter associated with this graph. More... | |
| global_size_t | getGlobalNumRows () const |
| Returns the number of global rows in the graph. More... | |
| global_size_t | getGlobalNumCols () const |
| Returns the number of global columns in the graph. More... | |
| size_t | getNodeNumRows () const |
| Returns the number of graph rows owned on the calling node. More... | |
| size_t | getNodeNumCols () const |
| Returns the number of columns connected to the locally owned rows of this graph. More... | |
| GlobalOrdinal | getIndexBase () const |
| Returns the index base for global indices for this graph. More... | |
| global_size_t | getGlobalNumEntries () const |
| Returns the global number of entries in the graph. More... | |
| size_t | getNodeNumEntries () const |
| Returns the local number of entries in the graph. More... | |
| size_t | getNumEntriesInGlobalRow (GlobalOrdinal globalRow) const |
| Returns the current number of entries on this node in the specified global row. More... | |
| size_t | getNumEntriesInLocalRow (LocalOrdinal localRow) const |
| Returns the current number of entries on this node in the specified local row. More... | |
| size_t | getNumAllocatedEntriesInGlobalRow (GlobalOrdinal globalRow) const |
| Returns the current number of allocated entries for this node in the specified global row . More... | |
| size_t | getNumAllocatedEntriesInLocalRow (LocalOrdinal localRow) const |
| Returns the current number of allocated entries on this node in the specified local row. More... | |
| size_t | getGlobalMaxNumRowEntries () const |
| Maximum number of entries in all rows over all processes. More... | |
| size_t | getNodeMaxNumRowEntries () const |
| Maximum number of entries in all rows owned by the calling process. More... | |
| bool | hasColMap () const |
| Whether the graph has a column Map. More... | |
| bool | isLocallyIndexed () const |
| Whether column indices are stored using local indices on the calling process. More... | |
| bool | isGloballyIndexed () const |
| Whether column indices are stored using global indices on the calling process. More... | |
| bool | isFillComplete () const |
| Whether fillComplete() has been called and the graph is in compute mode. More... | |
| bool | isStorageOptimized () const |
| Returns true if storage has been optimized. More... | |
| void | getGlobalRowView (GlobalOrdinal GlobalRow, ArrayView< const GlobalOrdinal > &Indices) const |
| Return a const, nonpersisting view of global indices in the given row. More... | |
| void | getLocalRowView (LocalOrdinal LocalRow, ArrayView< const LocalOrdinal > &indices) const |
| Return a const, nonpersisting view of local indices in the given row. More... | |
| void | computeGlobalConstants () |
| Dummy implementation for computeGlobalConstants. More... | |
Overridden from Teuchos::Describable | |
| std::string | description () const |
| Return a simple one-line description of this object. More... | |
| void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const |
| Print the object with some verbosity level to an FancyOStream object. More... | |
Xpetra specific | |
| TpetraCrsGraph (const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &graph) | |
| TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object. More... | |
| RCP< const Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > | getTpetra_CrsGraph () const |
| Get the underlying Tpetra graph. More... | |
Additional Inherited Members | |
Public Types inherited from Xpetra::CrsGraph< int, int, EpetraNode > | |
| typedef int | local_ordinal_type |
| typedef int | global_ordinal_type |
| typedef EpetraNode | node_type |
Public Member Functions inherited from Xpetra::CrsGraph< int, int, EpetraNode > | |
| virtual | ~CrsGraph () |
| Destructor. More... | |
| virtual void | expertStaticFillComplete (const RCP< const Map< int, int, EpetraNode > > &domainMap, const RCP< const Map< int, int, EpetraNode > > &rangeMap, const RCP< const Import< int, int, EpetraNode > > &importer=null, const RCP< const Export< int, int, EpetraNode > > &exporter=null, const RCP< Teuchos::ParameterList > ¶ms=null)=0 |
| Expert version of fillComplete. More... | |
Public Member Functions inherited from Xpetra::DistObject< int, int, int, EpetraNode > | |
| virtual | ~DistObject () |
| Destructor. More... | |
| virtual void | beginImport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM) |
| Import data into this object using an Import object ("forward mode"). More... | |
| virtual void | beginImport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM) |
| Import data into this object using an Export object ("reverse mode"). More... | |
| virtual void | endImport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM) |
| Import data into this object using an Import object ("forward mode"). More... | |
| virtual void | endImport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM) |
| Import data into this object using an Export object ("reverse mode"). More... | |
| virtual void | beginExport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM) |
| Export data into this object using an Export object ("forward mode"). More... | |
| virtual void | beginExport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM) |
| Export data into this object using an Import object ("reverse mode"). More... | |
| virtual void | endExport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM) |
| Export data into this object using an Export object ("forward mode"). More... | |
| virtual void | endExport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM) |
| Export data into this object using an Import object ("reverse mode"). More... | |
Public Member Functions inherited from Teuchos::Describable | |
| virtual std::string | description () const |
| virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
| 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) |
| virtual std::string | description () const |
| virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
| void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
| virtual | ~Describable () |
Public Member Functions inherited from Teuchos::LabeledObject | |
| LabeledObject () | |
| virtual | ~LabeledObject () |
| virtual void | setObjectLabel (const std::string &objectLabel) |
| virtual std::string | getObjectLabel () const |
Static Public Attributes inherited from Teuchos::Describable | |
| static const EVerbosityLevel | verbLevel_default |
Definition at line 426 of file Xpetra_TpetraCrsGraph_def.hpp.
|
private |
Definition at line 429 of file Xpetra_TpetraCrsGraph_def.hpp.
|
private |
Definition at line 430 of file Xpetra_TpetraCrsGraph_def.hpp.
|
private |
Definition at line 431 of file Xpetra_TpetraCrsGraph_def.hpp.
|
private |
Definition at line 434 of file Xpetra_TpetraCrsGraph_def.hpp.
|
private |
Definition at line 435 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
Constructor specifying fixed number of entries for each row.
Definition at line 443 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
Constructor specifying (possibly different) number of entries in each row.
Definition at line 448 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
Constructor specifying column Map and fixed number of entries for each row.
Definition at line 453 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
Constructor specifying column Map and number of entries in each row.
Definition at line 458 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Destructor.
Definition at line 559 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object.
Definition at line 750 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Insert global indices into the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 567 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Insert local indices into the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 570 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Remove all graph indices from the specified local row.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 573 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Allocates the 1D pointer arrays of the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 576 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Sets the 1D pointer arrays of the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 579 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Gets the 1D pointer arrays of the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 582 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Signal that data entry is complete, specifying domain and range maps.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 591 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Signal that data entry is complete.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 594 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
Expert version of fillComplete.
Definition at line 597 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the communicator.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 609 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the Map that describes the row distribution in this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 612 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the Map that describes the column distribution in this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 615 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the Map associated with the domain of this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 618 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the Map associated with the domain of this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 621 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the importer associated with this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 624 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the exporter associated with this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 627 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the number of global rows in the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 630 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the number of global columns in the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 633 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the number of graph rows owned on the calling node.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 636 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the number of columns connected to the locally owned rows of this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 639 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the index base for global indices for this graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 642 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the global number of entries in the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 645 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the local number of entries in the graph.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 648 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the current number of entries on this node in the specified global row.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 651 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the current number of entries on this node in the specified local row.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 654 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the current number of allocated entries for this node in the specified global row .
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 657 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns the current number of allocated entries on this node in the specified local row.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 660 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Maximum number of entries in all rows over all processes.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 663 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Maximum number of entries in all rows owned by the calling process.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 666 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Whether the graph has a column Map.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 669 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Whether column indices are stored using local indices on the calling process.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 672 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Whether column indices are stored using global indices on the calling process.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 675 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Whether fillComplete() has been called and the graph is in compute mode.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 678 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Returns true if storage has been optimized.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 681 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Return a const, nonpersisting view of global indices in the given row.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 684 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Return a const, nonpersisting view of local indices in the given row.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 687 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Dummy implementation for computeGlobalConstants.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 699 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Return a simple one-line description of this object.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 707 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Print the object with some verbosity level to an FancyOStream object.
Implements Xpetra::CrsGraph< int, int, EpetraNode >.
Definition at line 710 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
Get an ArrayRCP of the row-offsets.
Definition at line 718 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Implements DistObject interface.
Access function for the Tpetra::Map this DistObject was constructed with.
Implements Xpetra::DistObject< int, int, int, EpetraNode >.
Definition at line 726 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Implements Xpetra::DistObject< int, int, int, EpetraNode >.
Definition at line 729 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Implements Xpetra::DistObject< int, int, int, EpetraNode >.
Definition at line 733 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Import (using an Exporter).
Implements Xpetra::DistObject< int, int, int, EpetraNode >.
Definition at line 737 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inlinevirtual |
Export (using an Importer).
Implements Xpetra::DistObject< int, int, int, EpetraNode >.
Definition at line 741 of file Xpetra_TpetraCrsGraph_def.hpp.
|
inline |
Get the underlying Tpetra graph.
Definition at line 755 of file Xpetra_TpetraCrsGraph_def.hpp.