src/plugins/pressure.c | ●●●●● patch | view | raw | blame | history |
src/plugins/pressure.c
@@ -15,13 +15,10 @@ void vm_energy_before_prepare(ts_vesicle *vesicle, ts_vertex *vtx){ if(vesicle->pswitch == 1){ ts_double *dvol=(ts_double *)vesicle->plist->pointer->plugin->details->data; ts_uint i; //printf ("DVOL was %f\n", *dvol); *dvol=0; for(i=0;i<vtx->tristar_no;i++) *dvol-=vtx->tristar[i]->volume; //printf ("DVOL is %f\n", *dvol); ts_double *dvol=(ts_double *)vesicle->plist->pointer->plugin->details->data; ts_uint i; *dvol=0; for(i=0;i<vtx->tristar_no;i++) *dvol-=vtx->tristar[i]->volume; } }