Trisurf Monte Carlo simulator
Samo Penic
2014-09-03 bd221077dabdfe4d42757781a340f8f3e9f4fe24
Fix a major screwup in dump. Clist and Tape is not restored from dump, so it must not be included in one!
1 files modified
4 ■■■■ changed files
src/io.c 4 ●●●● patch | view | raw | blame | history
src/io.c
@@ -169,9 +169,9 @@
        poly_list->poly->bond
*/
    fwrite(vesicle->clist, sizeof(ts_cell_list),1,  fh);
//    fwrite(vesicle->clist, sizeof(ts_cell_list),1,  fh);
/* write tape information on vesicle */
    fwrite(vesicle->tape,sizeof(ts_tape),1,fh);
//    fwrite(vesicle->tape,sizeof(ts_tape),1,fh);
    fwrite(&iteration, sizeof(ts_uint),1,fh);
    fclose(fh);
    return TS_SUCCESS;