00001 #include "Ifpack_ConfigDefs.h" 00002 #ifdef HAVE_IFPACK_TEUCHOS 00003 #include "Ifpack_Partitioner.h" 00004 #include "Ifpack_OverlappingPartitioner.h" 00005 #include "Ifpack_EquationPartitioner.h" 00006 #include "Epetra_CrsGraph.h" 00007 00008 //============================================================================== 00009 int Ifpack_EquationPartitioner::ComputePartitions() 00010 { 00011 00012 for (int i = 0 ; i < NumMyRows() ; ++i) { 00013 Partition_[i] = i % NumLocalParts_; 00014 } 00015 00016 return(0); 00017 } 00018 #endif // HAVE_IFPACK_TEUCHOS
1.3.9.1