Ifpack_EquationPartitioner.cpp

Go to the documentation of this file.
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

Generated on Thu Sep 18 12:37:21 2008 for Ifpack Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1