/[escript]/branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp

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

revision 4687 by jfenwick, Wed Feb 19 00:03:29 2014 UTC revision 4800 by caltinay, Wed Mar 26 01:50:04 2014 UTC
# Line 1455  escript::ASM_ptr MeshAdapter::newSystemM Line 1455  escript::ASM_ptr MeshAdapter::newSystemM
1455      }      }
1456    
1457      // generate matrix:      // generate matrix:
1458      Paso_SystemMatrixPattern* fsystemMatrixPattern=      paso::SystemMatrixPattern* fsystemMatrixPattern=
1459          getFinley_Mesh()->getPattern(reduceRowOrder, reduceColOrder);          getFinley_Mesh()->getPattern(reduceRowOrder, reduceColOrder);
1460      checkFinleyError();      checkFinleyError();
1461      Paso_SystemMatrix* fsystemMatrix;      Paso_SystemMatrix* fsystemMatrix;
# Line 1469  escript::ASM_ptr MeshAdapter::newSystemM Line 1469  escript::ASM_ptr MeshAdapter::newSystemM
1469                  row_blocksize, column_blocksize, FALSE);                  row_blocksize, column_blocksize, FALSE);
1470      }      }
1471      checkPasoError();      checkPasoError();
1472      Paso_SystemMatrixPattern_free(fsystemMatrixPattern);      paso::SystemMatrixPattern_free(fsystemMatrixPattern);
1473      SystemMatrixAdapter* sma=new SystemMatrixAdapter(fsystemMatrix, row_blocksize, row_functionspace, column_blocksize, column_functionspace);      SystemMatrixAdapter* sma=new SystemMatrixAdapter(fsystemMatrix, row_blocksize, row_functionspace, column_blocksize, column_functionspace);
1474      return escript::ASM_ptr(sma);      return escript::ASM_ptr(sma);
1475  }  }
# Line 1494  escript::ATP_ptr MeshAdapter::newTranspo Line 1494  escript::ATP_ptr MeshAdapter::newTranspo
1494      }      }
1495    
1496      // generate transport problem:      // generate transport problem:
1497      Paso_SystemMatrixPattern* fsystemMatrixPattern=      paso::SystemMatrixPattern* fsystemMatrixPattern=
1498          getFinley_Mesh()->getPattern(reduceOrder, reduceOrder);          getFinley_Mesh()->getPattern(reduceOrder, reduceOrder);
1499      checkFinleyError();      checkFinleyError();
1500      Paso_TransportProblem* transportProblem;      Paso_TransportProblem* transportProblem;
1501      transportProblem=Paso_TransportProblem_alloc(fsystemMatrixPattern, blocksize);      transportProblem=Paso_TransportProblem_alloc(fsystemMatrixPattern, blocksize);
1502      checkPasoError();      checkPasoError();
1503      Paso_SystemMatrixPattern_free(fsystemMatrixPattern);      paso::SystemMatrixPattern_free(fsystemMatrixPattern);
1504      TransportProblemAdapter* tpa=new TransportProblemAdapter(      TransportProblemAdapter* tpa=new TransportProblemAdapter(
1505              transportProblem, blocksize, functionspace);              transportProblem, blocksize, functionspace);
1506      return escript::ATP_ptr(tpa);      return escript::ATP_ptr(tpa);

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

  ViewVC Help
Powered by ViewVC 1.1.26