/[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 2743 by caltinay, Mon Nov 16 05:28:47 2009 UTC revision 2744 by caltinay, Mon Nov 16 23:45:55 2009 UTC
# Line 22  Line 22 
22  #include "paso/PasoUtil.h"  #include "paso/PasoUtil.h"
23    
24  #define INT_FORMAT "%d "  #define INT_FORMAT "%d "
25  #define LEN_INT_FORMAT (unsigned int)(9+1)  #define LEN_INT_FORMAT (unsigned int)(9+2)
26  #define INT_NEWLINE_FORMAT "%d\n"  #define INT_NEWLINE_FORMAT "%d\n"
27  #define SCALAR_FORMAT "%12.6e\n"  #define SCALAR_FORMAT "%12.6e\n"
28  #define VECTOR_FORMAT "%12.6e %12.6e %12.6e\n"  #define VECTOR_FORMAT "%12.6e %12.6e %12.6e\n"
29  #define TENSOR_FORMAT "%12.6e %12.6e %12.6e %12.6e %12.6e %12.6e %12.6e %12.6e %12.6e\n"  #define TENSOR_FORMAT "%12.6e %12.6e %12.6e %12.6e %12.6e %12.6e %12.6e %12.6e %12.6e\n"
30  /* strlen("-1.234567e+78 ") == 14 */  /* strlen("-1.234567e+789 ") == 15 */
31  #define LEN_TENSOR_FORMAT (unsigned int)(9*14+1)  #define LEN_TENSOR_FORMAT (unsigned int)(9*15+2)
32  #define NEWLINE "\n"  #define NEWLINE "\n"
33  #define LEN_TMP_BUFFER LEN_TENSOR_FORMAT+(MAX_numNodes*LEN_INT_FORMAT+1)+2  #define LEN_TMP_BUFFER LEN_TENSOR_FORMAT+(MAX_numNodes*LEN_INT_FORMAT+1)+2
34  #define NCOMP_MAX (unsigned int)9  #define NCOMP_MAX (unsigned int)9

Legend:
Removed from v.2743  
changed lines
  Added in v.2744

  ViewVC Help
Powered by ViewVC 1.1.26