/[escript]/branches/domexper/dudley/src/Mesh_readGmsh.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/Mesh_readGmsh.c

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

revision 3219 by jfenwick, Tue Sep 28 05:13:17 2010 UTC revision 3220 by jfenwick, Wed Sep 29 00:33:16 2010 UTC
# Line 40  Dudley_Mesh* Dudley_Mesh_readGmsh(char* Line 40  Dudley_Mesh* Dudley_Mesh_readGmsh(char*
40    char line[LenString_MAX+1];    char line[LenString_MAX+1];
41    char error_msg[LenErrorMsg_MAX];    char error_msg[LenErrorMsg_MAX];
42    double rtmp0, rtmp1;    double rtmp0, rtmp1;
43    Dudley_ReferenceElementSet *refPoints=NULL, *refFaceElements=NULL, *refElements=NULL;  //  Dudley_ReferenceElementSet *refPoints=NULL, *refFaceElements=NULL, *refElements=NULL;
44  #ifdef Dudley_TRACE  #ifdef Dudley_TRACE
45    double time0=Dudley_timer();    double time0=Dudley_timer();
46  #endif  #endif
# Line 319  Dudley_Mesh* Dudley_Mesh_readGmsh(char* Line 319  Dudley_Mesh* Dudley_Mesh_readGmsh(char*
319       /* rearrange elements: */       /* rearrange elements: */
320       if (Dudley_noError()) Dudley_Mesh_prepare(mesh_p, optimize);       if (Dudley_noError()) Dudley_Mesh_prepare(mesh_p, optimize);
321       /* free up memory */       /* free up memory */
322       Dudley_ReferenceElementSet_dealloc(refPoints);  //   Dudley_ReferenceElementSet_dealloc(refPoints);
323       Dudley_ReferenceElementSet_dealloc(refFaceElements);  //   Dudley_ReferenceElementSet_dealloc(refFaceElements);
324       Dudley_ReferenceElementSet_dealloc(refElements);  //   Dudley_ReferenceElementSet_dealloc(refElements);
325       Paso_MPIInfo_free( mpi_info );       Paso_MPIInfo_free( mpi_info );
326       if (! Dudley_noError()) {       if (! Dudley_noError()) {
327          Dudley_Mesh_free(mesh_p);          Dudley_Mesh_free(mesh_p);

Legend:
Removed from v.3219  
changed lines
  Added in v.3220

  ViewVC Help
Powered by ViewVC 1.1.26