/[escript]/branches/doubleplusgood/paso/src/Transport_solve.cpp
ViewVC logotype

Diff of /branches/doubleplusgood/paso/src/Transport_solve.cpp

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

revision 4323 by jfenwick, Wed Feb 27 06:09:33 2013 UTC revision 4324 by jfenwick, Wed Mar 20 00:55:44 2013 UTC
# Line 87  void Paso_TransportProblem_solve(Paso_Tr Line 87  void Paso_TransportProblem_solve(Paso_Tr
87           */           */
88            fctsolver=Paso_FCT_Solver_alloc(fctp,options);            fctsolver=Paso_FCT_Solver_alloc(fctp,options);
89            rsolver=Paso_ReactiveSolver_alloc(fctp);            rsolver=Paso_ReactiveSolver_alloc(fctp);
90        u_save=TMPMEMALLOC(n,double);        u_save=new double[n];
91        u2=TMPMEMALLOC(n,double);        u2=new double[n];
92            Esys_checkPtr(u_save);            Esys_checkPtr(u_save);
93        Esys_checkPtr(u2);        Esys_checkPtr(u2);
94      }      }
# Line 180  void Paso_TransportProblem_solve(Paso_Tr Line 180  void Paso_TransportProblem_solve(Paso_Tr
180    
181      Paso_FCT_Solver_free(fctsolver);      Paso_FCT_Solver_free(fctsolver);
182      Paso_ReactiveSolver_free(rsolver);      Paso_ReactiveSolver_free(rsolver);
183      TMPMEMFREE(u_save);      delete[] u_save;
184      TMPMEMFREE(u2);      delete[] u2;
185  }  }
186    
187    

Legend:
Removed from v.4323  
changed lines
  Added in v.4324

  ViewVC Help
Powered by ViewVC 1.1.26