/[escript]/trunk/dudley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /trunk/dudley/src/CPPAdapter/MeshAdapter.cpp

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

revision 3792 by jfenwick, Mon Dec 12 01:26:51 2011 UTC revision 3793 by gross, Wed Feb 1 07:39:43 2012 UTC
# Line 1470  ASM_ptr MeshAdapter::newSystemMatrix( Line 1470  ASM_ptr MeshAdapter::newSystemMatrix(
1470  // creates a TransportProblemAdapter  // creates a TransportProblemAdapter
1471  //  //
1472  ATP_ptr MeshAdapter::newTransportProblem(  ATP_ptr MeshAdapter::newTransportProblem(
                                                          const bool useBackwardEuler,  
1473                                                           const int blocksize,                                                           const int blocksize,
1474                                                           const escript::FunctionSpace& functionspace,                                                           const escript::FunctionSpace& functionspace,
1475                                                           const int type) const                                                           const int type) const
# Line 1493  ATP_ptr MeshAdapter::newTransportProblem Line 1492  ATP_ptr MeshAdapter::newTransportProblem
1492     Paso_SystemMatrixPattern* fsystemMatrixPattern=Dudley_getPattern(getDudley_Mesh(),reduceOrder,reduceOrder);     Paso_SystemMatrixPattern* fsystemMatrixPattern=Dudley_getPattern(getDudley_Mesh(),reduceOrder,reduceOrder);
1493     checkDudleyError();     checkDudleyError();
1494     Paso_TransportProblem* transportProblem;     Paso_TransportProblem* transportProblem;
1495     transportProblem=Paso_TransportProblem_alloc(useBackwardEuler,fsystemMatrixPattern,blocksize);     transportProblem=Paso_TransportProblem_alloc(fsystemMatrixPattern,blocksize);
1496     checkPasoError();     checkPasoError();
1497     Paso_SystemMatrixPattern_free(fsystemMatrixPattern);     Paso_SystemMatrixPattern_free(fsystemMatrixPattern);
1498     AbstractTransportProblem* atp=new TransportProblemAdapter(transportProblem,useBackwardEuler,blocksize,functionspace);     AbstractTransportProblem* atp=new TransportProblemAdapter(transportProblem,blocksize,functionspace);
1499     return ATP_ptr(atp);     return ATP_ptr(atp);
1500  }  }
1501    

Legend:
Removed from v.3792  
changed lines
  Added in v.3793

  ViewVC Help
Powered by ViewVC 1.1.26