/[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 3736 by jfenwick, Mon Dec 12 01:26:51 2011 UTC revision 3793 by gross, Wed Feb 1 07:39:43 2012 UTC
# Line 1665  ASM_ptr MeshAdapter::newSystemMatrix( Line 1665  ASM_ptr MeshAdapter::newSystemMatrix(
1665  // creates a TransportProblemAdapter  // creates a TransportProblemAdapter
1666  //  //
1667  ATP_ptr MeshAdapter::newTransportProblem(  ATP_ptr MeshAdapter::newTransportProblem(
                                                          const bool useBackwardEuler,  
1668                                                           const int blocksize,                                                           const int blocksize,
1669                                                           const escript::FunctionSpace& functionspace,                                                           const escript::FunctionSpace& functionspace,
1670                                                           const int type) const                                                           const int type) const
# Line 1688  ATP_ptr MeshAdapter::newTransportProblem Line 1687  ATP_ptr MeshAdapter::newTransportProblem
1687     Paso_SystemMatrixPattern* fsystemMatrixPattern=Finley_getPattern(getFinley_Mesh(),reduceOrder,reduceOrder);     Paso_SystemMatrixPattern* fsystemMatrixPattern=Finley_getPattern(getFinley_Mesh(),reduceOrder,reduceOrder);
1688     checkFinleyError();     checkFinleyError();
1689     Paso_TransportProblem* transportProblem;     Paso_TransportProblem* transportProblem;
1690     transportProblem=Paso_TransportProblem_alloc(useBackwardEuler,fsystemMatrixPattern,blocksize);     transportProblem=Paso_TransportProblem_alloc(fsystemMatrixPattern,blocksize);
1691     checkPasoError();     checkPasoError();
1692     Paso_SystemMatrixPattern_free(fsystemMatrixPattern);     Paso_SystemMatrixPattern_free(fsystemMatrixPattern);
1693     TransportProblemAdapter* tpa=new TransportProblemAdapter(transportProblem,useBackwardEuler,blocksize,functionspace);     TransportProblemAdapter* tpa=new TransportProblemAdapter(transportProblem,blocksize,functionspace);
1694     return ATP_ptr(tpa);     return ATP_ptr(tpa);
1695  //   return TransportProblemAdapter(transportProblem,useBackwardEuler,blocksize,functionspace);  //   return TransportProblemAdapter(transportProblem, blocksize,functionspace);
1696  }  }
1697    
1698  //  //

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

  ViewVC Help
Powered by ViewVC 1.1.26