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

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

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

revision 1704 by gross, Mon Jul 28 06:36:19 2008 UTC revision 1705 by ksteube, Thu Aug 14 05:56:40 2008 UTC
# Line 50  void Finley_Mesh_saveVTK(const char * fi Line 50  void Finley_Mesh_saveVTK(const char * fi
50                           char* *names_p,                           char* *names_p,
51                           escriptDataC* *data_pp)                           escriptDataC* *data_pp)
52  {  {
53    #ifdef USE_VTK
54    char error_msg[LenErrorMsg_MAX], *txt_buffer=NULL, tmp_buffer[LEN_TMP_BUFFER];    char error_msg[LenErrorMsg_MAX], *txt_buffer=NULL, tmp_buffer[LEN_TMP_BUFFER];
55    double sampleAvg[NCOMP_MAX], *values, rtmp;    double sampleAvg[NCOMP_MAX], *values, rtmp;
56    size_t txt_buffer_in_use;    size_t txt_buffer_in_use;
# Line 981  void Finley_Mesh_saveVTK(const char * fi Line 982  void Finley_Mesh_saveVTK(const char * fi
982    TMPMEMFREE(isCellCentered);    TMPMEMFREE(isCellCentered);
983    TMPMEMFREE(txt_buffer);    TMPMEMFREE(txt_buffer);
984    return;    return;
985    #else
986      /* Don't kill the job if saveVTK() doesn't work */
987      fprintf(stderr, "\n\nsaveVTK warning: VTK is not available\n\n\n");
988    #endif
989  }  }

Legend:
Removed from v.1704  
changed lines
  Added in v.1705

  ViewVC Help
Powered by ViewVC 1.1.26