From 4f5ffcfd5ba38b6b7dd6d3b15de8bb8677537b9f Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Thu, 09 Apr 2020 16:15:56 +0000 Subject: [PATCH] Commiting old changes --- src/io.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/io.c b/src/io.c index 0d22aa7..b16ab3e 100644 --- a/src/io.c +++ b/src/io.c @@ -17,7 +17,7 @@ #include <dirent.h> #include <errno.h> #include <snapshot.h> - +#include <b64zlib_compression.h> ts_bool parse_args(int argc, char **argv){ int c, retval; @@ -245,6 +245,7 @@ if(vesicle->filament_list!=NULL){ if(vesicle->filament_list->poly[0]!=NULL){ filno=vesicle->filament_list->n; + fprintf(stderr,"WAS HERE AND I SHOULDNT BE\n"); fonono=vesicle->filament_list->poly[0]->vlist->n; fil=1; } @@ -435,7 +436,7 @@ - fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">\n"); + fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">"); offset=0; for(i=0;i<vlist->n;i++,offset+=3){ //fprintf(fh,"%.17e %.17e %.17e\n",vtx[i]->x,vtx[i]->y, vtx[i]->z); @@ -539,7 +540,7 @@ printout=ts_compress((char *)int_vector,offset*sizeof(long)); fprintf(fh,"%s",printout); free(printout); - fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">\n"); + fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">"); free(int_vector); free(float_vector); free(float_cell_vector); -- Gitblit v1.9.3