9 #include <fei_macros.hpp>
11 #include <fei_GraphReducer.hpp>
12 #include <fei_TemplateUtils.hpp>
13 #include <fei_VectorSpace.hpp>
16 #define fei_file "fei_GraphReducer.cpp"
17 #include <fei_ErrMacros.hpp>
35 reducer_->addGraphIndices(1, &row, len, indices, *target_);
43 reducer_->addSymmetricGraphIndices(numIndices, indices, diagonal, *target_);
49 bool prefixLinesWithPoundSign)
51 return(target_->writeLocalGraph(os, debug, prefixLinesWithPoundSign));
57 return(target_->writeRemoteGraph(os));
63 reducer_->assembleReducedGraph(target_.get(),
false);
64 return(target_->gatherFromOverlap());
int writeRemoteGraph(FEI_OSTREAM &os)
int writeLocalGraph(FEI_OSTREAM &os, bool debug=false, bool prefixLinesWithPoundSign=true)
int addIndices(int row, int len, const int *indices)
int addSymmetricIndices(int numIndices, int *indices, bool diagonal=false)
GraphReducer(fei::SharedPtr< fei::Reducer > reducer, fei::SharedPtr< fei::Graph > target)