commit | author | age
|
5bb11d
|
1 |
#include "general.h" |
SP |
2 |
#include "sh.h" |
|
3 |
#include "vesicle.h" |
|
4 |
#include "initial_distribution.h" |
|
5 |
|
|
6 |
int main(){ |
|
7 |
ts_vesicle *vesicle=initial_distribution_dipyramid(4,60,60,60,0.15); |
|
8 |
//parsetape(vesicle,&i); |
|
9 |
|
|
10 |
//these four must come from parsetype! |
|
11 |
vesicle->dmax=1.67*1.67; |
|
12 |
vesicle->stepsize=0.15; |
|
13 |
vesicle->clist->max_occupancy=8; |
|
14 |
vesicle->bending_rigidity=25.0; |
|
15 |
fprintf(stderr,"xk=%f\n",vesicle->bending_rigidity); |
|
16 |
|
|
17 |
vesicle->sphHarmonics=sph_init(vesicle->vlist, 10); |
|
18 |
int i,j; |
|
19 |
for(i=0;i<vesicle->sphHarmonics->l;i++){ |
|
20 |
for(j=0;j<2*i+1;j++){ |
|
21 |
fprintf(stderr,"co(%d,%d)=%f\n",i,j,vesicle->sphHarmonics->co[i][j]); |
|
22 |
} |
|
23 |
} |
|
24 |
|
|
25 |
|
|
26 |
sph_free(vesicle->sphHarmonics); |
|
27 |
//vesicle_free(vesicle); |
|
28 |
return 0; |
|
29 |
} |