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

Diff of /branches/doubleplusgood/paso/src/UMFPACK.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 44  void Paso_UMFPACK_free(Paso_SparseMatrix Line 44  void Paso_UMFPACK_free(Paso_SparseMatrix
44         umfpack_di_free_symbolic(&(pt->symbolic));         umfpack_di_free_symbolic(&(pt->symbolic));
45         umfpack_di_free_numeric(&(pt->numeric));         umfpack_di_free_numeric(&(pt->numeric));
46         #endif         #endif
47         MEMFREE(pt);         delete pt;
48             A->solver_p=NULL;             A->solver_p=NULL;
49       }       }
50  }  }
# Line 74  void Paso_UMFPACK(Paso_SparseMatrix* A, Line 74  void Paso_UMFPACK(Paso_SparseMatrix* A,
74            
75       if (pt==NULL) {       if (pt==NULL) {
76      int n = A->numRows;      int n = A->numRows;
77      pt=(MEMALLOC(1,Paso_UMFPACK_Handler));      pt=new Paso_UMFPACK_Handler;
78      time0=Esys_timer();      time0=Esys_timer();
79      if (Esys_checkPtr(pt)) return;      if (Esys_checkPtr(pt)) return;
80      A->solver_p = (void*) pt;      A->solver_p = (void*) pt;

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

  ViewVC Help
Powered by ViewVC 1.1.26