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

Diff of /trunk/finley/src/Mesh_rec4.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 414  Finley_Mesh* Finley_RectangularMesh_Rec4 Line 414  Finley_Mesh* Finley_RectangularMesh_Rec4
414    #ifdef Finley_TRACE    #ifdef Finley_TRACE
415    printf("timing: mesh generation: %.4e sec\n",Finley_timer()-time0);    printf("timing: mesh generation: %.4e sec\n",Finley_timer()-time0);
416    #endif    #endif
417      if (Finley_noError()) {
418    if (! Finley_noError()) {         if ( ! Finley_Mesh_isPrepared(out) ) {
419              Finley_setError(SYSTEM_ERROR,"Mesh is not prepared for calculation. Contact the programmers.");
420           }
421      } else {
422        Finley_Mesh_dealloc(out);        Finley_Mesh_dealloc(out);
       return NULL;  
423    }    }
424    return out;    return out;
425  }  }
# Line 819  Finley_Mesh* Finley_RectangularMesh_Rec4 Line 821  Finley_Mesh* Finley_RectangularMesh_Rec4
821    #ifdef Finley_TRACE    #ifdef Finley_TRACE
822    printf("timing: mesh generation: %.4e sec\n",Finley_timer()-time0);    printf("timing: mesh generation: %.4e sec\n",Finley_timer()-time0);
823    #endif    #endif
824      if (Finley_noError()) {
825           if (! Finley_Mesh_isPrepared(out) ) {
826              Finley_setError(SYSTEM_ERROR,"Mesh is not prepared for calculation. Contact the programmers.");
827           }
828      }
829    return out;    return out;
830  }  }
831  #endif  #endif

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

  ViewVC Help
Powered by ViewVC 1.1.26