Trisurf Monte Carlo simulator
Samo Penic
2013-11-30 b5ba7b3c7142aa7a2d58d9554048e6317ebd3616
step in rewritting
1 files modified
8 ■■■■ changed files
src/io.c 8 ●●●● patch | view | raw | blame | history
src/io.c
@@ -25,10 +25,10 @@
    ts_vertex **vtx=vlist->vtx;
    printf("Vertex id(neigh no): (neighvertex coord) (neighvertex coord) ...\n");
    for(i=0;i<vlist->n;i++){
        printf("%u(%u): ",vtx[i]->idx,vtx[i]->neigh_no);
        for(j=0;j<vtx[i]->neigh_no;j++){
            printf("(%f,%f,%f)",vtx[i]->neigh[j]->x,
vtx[i]->neigh[j]->y,vtx[i]->neigh[j]->z);
        printf("%u(%u): ",vtx[i]->idx,vtx[i]->neigh->n);
        for(j=0;j<vtx[i]->neigh->n;j++){
            printf("(%f,%f,%f)",vtx[i]->neigh->vtx[j]->x,
vtx[i]->neigh->vtx[j]->y,vtx[i]->neigh->vtx[j]->z);
        }
        printf("\n");
    }