/[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 4817 by caltinay, Fri Mar 28 08:04:09 2014 UTC revision 4818 by caltinay, Mon Mar 31 00:16:20 2014 UTC
# Line 203  Brick::Brick(int n0, int n1, int n2, dou Line 203  Brick::Brick(int n0, int n1, int n2, dou
203    
204  Brick::~Brick()  Brick::~Brick()
205  {  {
     paso::SystemMatrixPattern_free(m_pattern);  
206      delete assembler;      delete assembler;
207  }  }
208    
# Line 2579  void Brick::createPattern() Line 2578  void Brick::createPattern()
2578              const_cast<index_t*>(&m_nodeDistribution[0]), 1, 0));              const_cast<index_t*>(&m_nodeDistribution[0]), 1, 0));
2579    
2580      // finally create the system matrix      // finally create the system matrix
2581      m_pattern = new paso::SystemMatrixPattern(MATRIX_FORMAT_DEFAULT,      m_pattern.reset(new paso::SystemMatrixPattern(MATRIX_FORMAT_DEFAULT,
2582              distribution, distribution, mainPattern, colPattern, rowPattern,              distribution, distribution, mainPattern, colPattern, rowPattern,
2583              m_connector, m_connector);              m_connector, m_connector));
2584    
2585      // useful debug output      // useful debug output
2586      /*      /*

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

  ViewVC Help
Powered by ViewVC 1.1.26