Fix: the number of cell total must be updated from new tape aswell.
| | |
| | | vesicle->clist->ncmax[0]=vesicle->tape->ncxmax; |
| | | vesicle->clist->ncmax[1]=vesicle->tape->ncymax; |
| | | vesicle->clist->ncmax[2]=vesicle->tape->nczmax; |
| | | vesicle->clist->cellno=vesicle->clist->ncmax[0]*vesicle->clist->ncmax[1]*vesicle->clist->ncmax[2]; |
| | | vesicle->clist->cell=(ts_cell **)malloc(sizeof(ts_cell *)*vesicle->clist->ncmax[0]*vesicle->clist->ncmax[1]*vesicle->clist->ncmax[2]); |
| | | for(i=0;i<vesicle->clist->ncmax[0]*vesicle->clist->ncmax[1]*vesicle->clist->ncmax[2];i++){ |
| | | vesicle->clist->cell[i]=(ts_cell *)calloc(1,sizeof(ts_cell)); |
| | |
| | | pressure=0.0 |
| | | |
| | | #Constant volume constraint (0 disable constant volume, 1 enable) |
| | | constvolswitch=0 |
| | | constvolswitch=1 |
| | | constvolprecision=1e-14 |
| | | |
| | | |
| | |
| | | |
| | | ####### Program Control ############ |
| | | #how many MC sweeps between subsequent records of states to disk |
| | | #200000 |
| | | mcsweeps=20 |
| | | #how many initial mcsweeps*inititer MC sweeps before recording to disk? |
| | | #2 |
| | | inititer=0 |
| | | #how many records do you want on the disk iteration are there in a run? |
| | | iterations=10 |
| | | #10000 |
| | | iterations=100 |
| | | |
| | | |
| | | ###### Spherical harmonics ########### |