| | |
| | | xml_trisurf_nucleus(data,vesicle); |
| | | xml_trisurf_constvolarea(data,V0,A0); |
| | | //#ifdef COMPRESSION |
| | | char *compressed; |
| | | ts_uint nbytes=ts_compress_string64(data->string, data->beg-1, &compressed); //suppress null character at the end with by substracting 1 |
| | | fwrite(compressed, sizeof(unsigned char), nbytes, fh); |
| | | free (compressed); |
| | | // char *compressed; |
| | | // ts_uint nbytes=ts_compress_string64(data->string, data->beg-1, &compressed); //suppress null character at the end with by substracting 1 |
| | | // fwrite(compressed, sizeof(unsigned char), nbytes, fh); |
| | | // free (compressed); |
| | | //#else |
| | | // fprintf(fh,"%s", data->string); |
| | | fprintf(fh,"%s", data->string); |
| | | //#endif |
| | | free(data->string); /* TODO: valgrind is not ok with this! */ |
| | | free(data); |