Trisurf Monte Carlo simulator
Samo Penic
2016-05-18 002b70ce9bba4475376eb4933f1e7c58cac89c57
Started valgrinding. Memory leaks are still present
1 files modified
8 ■■■■ changed files
src/tsmeasure.c 8 ●●●● patch | view | raw | blame | history
src/tsmeasure.c
@@ -34,6 +34,8 @@
}
void vesicle_calculate_ulm2(ts_vesicle *vesicle){
    complex_sph_free(vesicle->sphHarmonics);
    vesicle->sphHarmonics=complex_sph_init(vesicle->vlist,21);
    vesicle_volume(vesicle);
    preparationSh(vesicle,getR0(vesicle));
@@ -65,7 +67,10 @@
        struct dirent *ent;
        ent=list[n];    
                i=rindex(ent->d_name,'.');
                if(i==NULL) continue;
                if(i==NULL) {
            free(ent);
            continue;
        }
                if(strcmp(i+1,"vtu")==0){
                    j=rindex(ent->d_name,'_');
                    if(j==NULL) continue;
@@ -78,6 +83,7 @@
                        tstep++;
            //vesicle_free(vesicle);
                    free(number);
            vesicle_free(vesicle);
                }
        free(ent);  
        }