/[escript]/trunk/paso/src/Pattern_reduceBandwidth.c
ViewVC logotype

Diff of /trunk/paso/src/Pattern_reduceBandwidth.c

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

revision 2872 by jfenwick, Tue Aug 18 01:25:18 2009 UTC revision 2873 by caltinay, Wed Jan 27 01:09:33 2010 UTC
# Line 140  void Paso_Pattern_reduceBandwidth(Paso_P Line 140  void Paso_Pattern_reduceBandwidth(Paso_P
140     /* check input */     /* check input */
141     if (N != pattern->numInput) {     if (N != pattern->numInput) {
142        Paso_setError(VALUE_ERROR,"Paso_Pattern_reduceBandwidth: pattern needs to be for a square matrix.");        Paso_setError(VALUE_ERROR,"Paso_Pattern_reduceBandwidth: pattern needs to be for a square matrix.");
143     } else {     } else if (N > 0) {
144  /* printf("relabeling of %d DOFs started.\n",N); */  /* printf("relabeling of %d DOFs started.\n",N); */
145        degAndIdx=TMPMEMALLOC(N,Paso_DegreeAndIdx);        degAndIdx=TMPMEMALLOC(N,Paso_DegreeAndIdx);
146        oldLabel=TMPMEMALLOC(N,bool_t);        oldLabel=TMPMEMALLOC(N,bool_t);

Legend:
Removed from v.2872  
changed lines
  Added in v.2873

  ViewVC Help
Powered by ViewVC 1.1.26