From 61ad95ca712a374f6e58127fda738b67c57d743d Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 04 Jan 2017 21:19:52 +0000 Subject: [PATCH] Added many changes to trisurf.py. Mostly readability. Great fix in class Runner by introducing @property tag --- src/timestep.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/timestep.c b/src/timestep.c index 6972015..f7cb5dd 100644 --- a/src/timestep.c +++ b/src/timestep.c @@ -60,11 +60,6 @@ /* RANDOM SEED SET BY CURRENT TIME */ epochtime=get_epoch(); srand48(epochtime); -/*Nir Gov: randomly add spontaneous curvature for some vertices */ - for(i=0;i<200;i++){ - int b=rand() % vesicle->vlist->n; - vesicle->vlist->vtx[b]->c=-0.1; - } centermass(vesicle); cell_occupation(vesicle); vesicle_volume(vesicle); //needed for constant volume at this moment @@ -98,7 +93,7 @@ cell_occupation(vesicle); dump_state(vesicle,i); if(i>=inititer){ - write_vertex_xml_file(vesicle,i-inititer); + write_vertex_xml_file(vesicle,i-inititer,NULL); write_master_xml_file(command_line_args.output_fullfilename); epochtime=get_epoch(); gyration_eigen(vesicle, &l1, &l2, &l3); -- Gitblit v1.9.3