43 #include "Ifpack_ConfigDefs.h"
44 #include "Ifpack_Partitioner.h"
45 #include "Ifpack_OverlappingPartitioner.h"
46 #include "Ifpack_UserPartitioner.h"
47 #include "Epetra_CrsGraph.h"
64 for (
unsigned int i = 0 ; i < singletons.size() ; ++i) {
76 for (
unsigned int i = 0 ; i < singletons.size() ; ++i) {
77 if (singletons[i] == 1)
84 if (singletons[j] == 1) {
int NumMyRows() const
Returns the number of local rows.
std::vector< int > Partition_
Partition_[i] contains the ID of non-overlapping part it belongs to.
int ComputePartitions()
Computes the partitions. Returns 0 if successful.
int NumLocalParts() const
Returns the number of computed local partitions.