| | |
| | | /* 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 |
| | |
| | | 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); |