/[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 4776 by caltinay, Wed Mar 19 23:31:00 2014 UTC revision 4800 by caltinay, Wed Mar 26 01:50:04 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  {  {
206      Paso_SystemMatrixPattern_free(m_pattern);      paso::SystemMatrixPattern_free(m_pattern);
207      Paso_Connector_free(m_connector);      Paso_Connector_free(m_connector);
208      delete assembler;      delete assembler;
209  }  }
# Line 2583  void Brick::createPattern() Line 2583  void Brick::createPattern()
2583              const_cast<index_t*>(&m_nodeDistribution[0]), 1, 0);              const_cast<index_t*>(&m_nodeDistribution[0]), 1, 0);
2584    
2585      // finally create the system matrix      // finally create the system matrix
2586      m_pattern = Paso_SystemMatrixPattern_alloc(MATRIX_FORMAT_DEFAULT,      m_pattern = new paso::SystemMatrixPattern(MATRIX_FORMAT_DEFAULT,
2587              distribution, distribution, mainPattern, colPattern, rowPattern,              distribution, distribution, mainPattern, colPattern, rowPattern,
2588              m_connector, m_connector);              m_connector, m_connector);
2589    

Legend:
Removed from v.4776  
changed lines
  Added in v.4800

  ViewVC Help
Powered by ViewVC 1.1.26