/[escript]/branches/diaplayground/ripley/src/Brick.cpp
ViewVC logotype

Diff of /branches/diaplayground/ripley/src/Brick.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4818 by caltinay, Mon Mar 31 00:16:20 2014 UTC revision 4819 by caltinay, Tue Apr 1 03:50:23 2014 UTC
# Line 2569  void Brick::createPattern() Line 2569  void Brick::createPattern()
2569      m_connector.reset(new paso::Connector(snd_shcomp, rcv_shcomp));      m_connector.reset(new paso::Connector(snd_shcomp, rcv_shcomp));
2570    
2571      // create main and couple blocks      // create main and couple blocks
2572      paso::Pattern *mainPattern = createMainPattern();      paso::Pattern_ptr mainPattern = createMainPattern();
2573      paso::Pattern *colPattern, *rowPattern;      paso::Pattern_ptr colPattern, rowPattern;
2574      createCouplePatterns(colIndices, rowIndices, numShared, &colPattern, &rowPattern);      createCouplePatterns(colIndices, rowIndices, numShared, colPattern, rowPattern);
2575    
2576      // allocate paso distribution      // allocate paso distribution
2577      paso::Distribution_ptr distribution(new paso::Distribution(m_mpiInfo,      paso::Distribution_ptr distribution(new paso::Distribution(m_mpiInfo,
# Line 2639  void Brick::createPattern() Line 2639  void Brick::createPattern()
2639          cout << "index[" << i << "]=" << rowPattern->index[i] << endl;          cout << "index[" << i << "]=" << rowPattern->index[i] << endl;
2640      }      }
2641      */      */
   
     paso::Pattern_free(mainPattern);  
     paso::Pattern_free(colPattern);  
     paso::Pattern_free(rowPattern);  
2642  }  }
2643    
2644  //private  //private

Legend:
Removed from v.4818  
changed lines
  Added in v.4819

  ViewVC Help
Powered by ViewVC 1.1.26