/[escript]/trunk/paso/src/RILU.cpp
ViewVC logotype

Diff of /trunk/paso/src/RILU.cpp

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

revision 4802 by caltinay, Mon Mar 24 05:42:42 2014 UTC revision 4803 by caltinay, Wed Mar 26 06:52:28 2014 UTC
# Line 106  Paso_Solver_RILU* Paso_Solver_getRILU(pa Line 106  Paso_Solver_RILU* Paso_Solver_getRILU(pa
106       time0=Esys_timer();       time0=Esys_timer();
107       #pragma omp parallel for private(i) schedule(static)       #pragma omp parallel for private(i) schedule(static)
108       for (i=0;i<n;++i) mis_marker[i]=-1;       for (i=0;i<n;++i) mis_marker[i]=-1;
109       Paso_Pattern_mis(A_p->pattern,mis_marker);       paso::Pattern_mis(A_p->pattern,mis_marker);
110       /*time2=Esys_timer()-time0;*/       /*time2=Esys_timer()-time0;*/
111       if (Esys_noError()) {       if (Esys_noError()) {
112          #pragma omp parallel for private(i) schedule(static)          #pragma omp parallel for private(i) schedule(static)
# Line 142  Paso_Solver_RILU* Paso_Solver_getRILU(pa Line 142  Paso_Solver_RILU* Paso_Solver_getRILU(pa
142                                          index,                                          index,
143                                          A_p->pattern->ptr[out->rows_in_F[i] + 1]-A_p->pattern->ptr[out->rows_in_F[i]],                                          A_p->pattern->ptr[out->rows_in_F[i] + 1]-A_p->pattern->ptr[out->rows_in_F[i]],
144                                          sizeof(index_t),                                          sizeof(index_t),
145                                          Paso_comparIndex);                                          paso::comparIndex);
146                  if (where_p==NULL) {                  if (where_p==NULL) {
147                      Esys_setError(VALUE_ERROR, "Paso_Solver_getRILU: main diagonal element missing.");                      Esys_setError(VALUE_ERROR, "Paso_Solver_getRILU: main diagonal element missing.");
148                  } else {                  } else {

Legend:
Removed from v.4802  
changed lines
  Added in v.4803

  ViewVC Help
Powered by ViewVC 1.1.26