/[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 1990 by ksteube, Fri Nov 7 04:19:07 2008 UTC revision 1991 by caltinay, Fri Nov 7 04:32:38 2008 UTC
# Line 88  void Finley_Mesh_saveVTK(const char * fi Line 88  void Finley_Mesh_saveVTK(const char * fi
88    /*                                      */    /*                                      */
89    /*       tags in the vtk file           */    /*       tags in the vtk file           */
90    
91    char* tags_header="<?xml version=\"1.0\"?>\n" \    const char* tags_header="<?xml version=\"1.0\"?>\n" \
92                      "<VTKFile type=\"UnstructuredGrid\" version=\"0.1\">\n" \                      "<VTKFile type=\"UnstructuredGrid\" version=\"0.1\">\n" \
93                      "<UnstructuredGrid>\n" \                      "<UnstructuredGrid>\n" \
94                      "<Piece NumberOfPoints=\"%d\" NumberOfCells=\"%d\">\n" \                      "<Piece NumberOfPoints=\"%d\" NumberOfCells=\"%d\">\n" \
# Line 101  void Finley_Mesh_saveVTK(const char * fi Line 101  void Finley_Mesh_saveVTK(const char * fi
101    char* tags_End_Points_and_Start_Conn = "</DataArray>\n</Points>\n<Cells>\n<DataArray Name=\"connectivity\" type=\"Int32\" format=\"ascii\">\n" ;    char* tags_End_Points_and_Start_Conn = "</DataArray>\n</Points>\n<Cells>\n<DataArray Name=\"connectivity\" type=\"Int32\" format=\"ascii\">\n" ;
102    char* tags_End_Conn_and_Start_Offset = "</DataArray>\n<DataArray Name=\"offsets\" type=\"Int32\" format=\"ascii\">\n";    char* tags_End_Conn_and_Start_Offset = "</DataArray>\n<DataArray Name=\"offsets\" type=\"Int32\" format=\"ascii\">\n";
103    char* tags_End_Offset_and_Start_Type = "</DataArray>\n<DataArray Name=\"types\" type=\"UInt8\" format=\"ascii\">\n";    char* tags_End_Offset_and_Start_Type = "</DataArray>\n<DataArray Name=\"types\" type=\"UInt8\" format=\"ascii\">\n";
104    char* tag_Float_DataArray="<DataArray Name=\"%s\" type=\"Float64\" NumberOfComponents=\"%d\" format=\"ascii\">\n";    const char* tag_Float_DataArray="<DataArray Name=\"%s\" type=\"Float64\" NumberOfComponents=\"%d\" format=\"ascii\">\n";
105    char* tags_End_Type_And_Cells = "</DataArray>\n</Cells>\n";    char* tags_End_Type_And_Cells = "</DataArray>\n</Cells>\n";
106    
107    int VTK_QUADRATIC_HEXAHEDRON_INDEX[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 17, 18, 19, 12, 13, 14, 15 };    int VTK_QUADRATIC_HEXAHEDRON_INDEX[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 17, 18, 19, 12, 13, 14, 15 };

Legend:
Removed from v.1990  
changed lines
  Added in v.1991

  ViewVC Help
Powered by ViewVC 1.1.26