/[escript]/branches/scons-dev/finley/src/Mesh_saveVTK.c
ViewVC logotype

Diff of /branches/scons-dev/finley/src/Mesh_saveVTK.c

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

revision 1654 by ksteube, Tue Jul 15 00:15:12 2008 UTC revision 1655 by ksteube, Wed Jul 16 05:10:10 2008 UTC
# Line 49  void Finley_Mesh_saveVTK(const char * fi Line 49  void Finley_Mesh_saveVTK(const char * fi
49                           char* *names_p,                           char* *names_p,
50                           escriptDataC* *data_pp)                           escriptDataC* *data_pp)
51  {  {
52    #ifdef USE_VTK
53    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];
54    double sampleAvg[NCOMP_MAX], *values, rtmp;    double sampleAvg[NCOMP_MAX], *values, rtmp;
55    size_t txt_buffer_in_use;    size_t txt_buffer_in_use;
# Line 976  void Finley_Mesh_saveVTK(const char * fi Line 977  void Finley_Mesh_saveVTK(const char * fi
977    TMPMEMFREE(isCellCentered);    TMPMEMFREE(isCellCentered);
978    TMPMEMFREE(txt_buffer);    TMPMEMFREE(txt_buffer);
979    return;    return;
980    #else
981      /* Don't kill the job if saveVTK() doesn't work */
982      fprintf(stderr, "\n\nsaveVTK: VTK is not available\n\n\n");
983    #endif
984  }  }

Legend:
Removed from v.1654  
changed lines
  Added in v.1655

  ViewVC Help
Powered by ViewVC 1.1.26