/[escript]/trunk/finley/src/Mesh_rec8.c
ViewVC logotype

Diff of /trunk/finley/src/Mesh_rec8.c

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

revision 787 by bcumming, Wed Jul 26 01:46:45 2006 UTC revision 964 by gross, Tue Feb 13 05:10:26 2007 UTC
# Line 447  Finley_Mesh* Finley_RectangularMesh_Rec8 Line 447  Finley_Mesh* Finley_RectangularMesh_Rec8
447    printf("timing: mesh generation: %.4e sec\n",Finley_timer()-time0);    printf("timing: mesh generation: %.4e sec\n",Finley_timer()-time0);
448    #endif    #endif
449    
450    if (! Finley_noError()) {    if (Finley_noError()) {
451           if ( ! Finley_Mesh_isPrepared(out)) {
452              Finley_setError(SYSTEM_ERROR,"Mesh is not prepared for calculation. Contact the programmers.");
453           }
454      } else {
455        Finley_Mesh_dealloc(out);        Finley_Mesh_dealloc(out);
       return NULL;  
456    }    }
457    return out;    return out;
458  }  }
# Line 841  Finley_Mesh* Finley_RectangularMesh_Rec8 Line 844  Finley_Mesh* Finley_RectangularMesh_Rec8
844      Finley_Mesh_dealloc(out);      Finley_Mesh_dealloc(out);
845      return NULL;      return NULL;
846    }    }
847      if (Finley_noError()) {
848      return out;         if (! Finley_Mesh_isPrepared(out)) {
849              Finley_setError(SYSTEM_ERROR,"Mesh is not prepared for calculation. Contact the programmers.");
850           }
851      }
852      return out;
853  }  }
854  #endif  #endif

Legend:
Removed from v.787  
changed lines
  Added in v.964

  ViewVC Help
Powered by ViewVC 1.1.26