|
Ifpack2 Templated Preconditioning Package
Version 1.0
|
Ifpack2::LinearPartitioner: A class to define linear partitions. More...
#include <Ifpack2_LinearPartitioner_decl.hpp>
Inherits Ifpack2::OverlappingPartitioner< GraphType >.
Public Member Functions | |
| LinearPartitioner (const Teuchos::RCP< const Tpetra::RowGraph< LocalOrdinal, GlobalOrdinal, Node > > &Graph) | |
| Constructor. More... | |
| virtual | ~LinearPartitioner () |
| Destructor. More... | |
| void | setPartitionParameters (Teuchos::ParameterList &List) |
| Sets all the parameters for the partitioner (none for linear partioning). More... | |
| void | computePartitions () |
| Computes the partitions. Returns 0 if successful. More... | |
Public Member Functions inherited from Ifpack2::OverlappingPartitioner< GraphType > | |
| OverlappingPartitioner (const Teuchos::RCP< const Tpetra::RowGraph< LocalOrdinal, GlobalOrdinal, Node > > &Graph) | |
| Constructor. More... | |
| virtual | ~OverlappingPartitioner () |
| Destructor. More... | |
| LocalOrdinal | numLocalParts () const |
| Returns the number of computed local partitions. More... | |
| size_t | overlappingLevel () const |
| Returns the overlapping level. More... | |
| LocalOrdinal | operator() (LocalOrdinal MyRow) const |
| Returns the local non-overlapping partition ID of the specified row. More... | |
| LocalOrdinal | operator() (LocalOrdinal i, LocalOrdinal j) const |
| Returns the local overlapping partition ID of the j-th node in partition i. More... | |
| size_t | numRowsInPart (const LocalOrdinal Part) const |
| Returns the number of rows contained in specified partition. More... | |
| void | rowsInPart (const LocalOrdinal Part, Teuchos::ArrayRCP< LocalOrdinal > &List) const |
| Copies into List the rows in the (overlapping) partition Part. More... | |
| virtual Teuchos::ArrayView < const LocalOrdinal > | nonOverlappingPartition () const |
| Returns an ArrayRCP to the integer vector containing the non-overlapping partition ID of each local row. More... | |
| virtual void | setParameters (Teuchos::ParameterList &List) |
| Sets all the parameters for the partitioner. More... | |
| virtual void | setPartitionParameters (Teuchos::ParameterList &List)=0 |
| Sets all the parameters for the partitioner. More... | |
| virtual void | compute () |
| Computes the partitions. Returns 0 if successful. More... | |
| virtual void | computePartitions ()=0 |
| Computes the partitions. Returns 0 if successful. More... | |
| virtual void | computeOverlappingPartitions () |
| Computes the partitions. Returns 0 if successful. More... | |
| virtual bool | isComputed () const |
| Returns true if partitions have been computed successfully. More... | |
| virtual std::ostream & | print (std::ostream &os) const |
| Prints basic information on iostream. This function is used by operator<<. More... | |
| 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... | |
Public Member Functions inherited from Ifpack2::Partitioner< GraphType > | |
| virtual | ~Partitioner () |
| Destructor. More... | |
| virtual LocalOrdinal | numLocalParts () const =0 |
| Returns the number of computed local partitions. More... | |
| virtual size_t | overlappingLevel () const =0 |
| Returns the overlapping level. More... | |
| virtual LocalOrdinal | operator() (LocalOrdinal MyRow) const =0 |
| Returns the local non-overlapping partition ID of the specified row. More... | |
| virtual LocalOrdinal | operator() (LocalOrdinal i, LocalOrdinal j) const =0 |
| Returns the local overlapping partition ID of the j-th node in partition i. More... | |
| virtual size_t | numRowsInPart (const LocalOrdinal Part) const =0 |
| Returns the number of rows contained in specified partition. More... | |
| virtual void | rowsInPart (const LocalOrdinal Part, Teuchos::ArrayRCP< LocalOrdinal > &List) const =0 |
| Copies into List the rows in the (overlapping) partition Part. More... | |
| virtual Teuchos::ArrayView < const LocalOrdinal > | nonOverlappingPartition () const =0 |
| Returns an ArrayRCP to the integer vector containing the non-overlapping partition ID of each local row. More... | |
| virtual void | setParameters (Teuchos::ParameterList &List)=0 |
| Sets all the parameters for the partitioner. More... | |
| virtual void | compute ()=0 |
| Computes the partitions. Returns 0 if successful. More... | |
| virtual bool | isComputed () const =0 |
| Returns true if partitions have been computed successfully. More... | |
| virtual std::ostream & | print (std::ostream &os) const =0 |
| Prints basic information about the partitioning object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Ifpack2::OverlappingPartitioner< GraphType > | |
| LocalOrdinal | NumLocalParts_ |
| Number of local subgraphs. This is a localordinal because negatives mean something. More... | |
| Teuchos::Array< LocalOrdinal > | Partition_ |
| Partition_[i] contains the ID of non-overlapping part it belongs to. More... | |
| Teuchos::Array < Teuchos::ArrayRCP < LocalOrdinal > > | Parts_ |
| Parts_[i][j] is the ID of the j-th row contained in the (overlapping) More... | |
| Teuchos::RCP< const Tpetra::RowGraph< LocalOrdinal, GlobalOrdinal, Node > > | Graph_ |
| Reference to the graph to be partitioned. More... | |
| size_t | OverlappingLevel_ |
| Overlapping level. More... | |
| bool | IsComputed_ |
If true, the graph has been successfully partitioned. More... | |
| bool | verbose_ |
If true, information are reported on cout. More... | |
Ifpack2::LinearPartitioner: A class to define linear partitions.
| Ifpack2::LinearPartitioner< GraphType >::LinearPartitioner | ( | const Teuchos::RCP< const Tpetra::RowGraph< LocalOrdinal, GlobalOrdinal, Node > > & | Graph | ) |
Constructor.
|
virtual |
Destructor.
| void Ifpack2::LinearPartitioner< GraphType >::setPartitionParameters | ( | Teuchos::ParameterList & | List | ) |
Sets all the parameters for the partitioner (none for linear partioning).
| void Ifpack2::LinearPartitioner< GraphType >::computePartitions | ( | ) |
Computes the partitions. Returns 0 if successful.
1.8.5