Trisurf Monte Carlo simulator
Samo Penic
2019-07-04 42190fb471120cd6aafc9227081c57f7a0aca68e
commit | author | age
7f6076 1 /* vim: set ts=4 sts=4 sw=4 noet : */
88f451 2 #ifndef _H_SH
SP 3 #define _H_SH
4 #include "general.h"
262607 5 ts_bool storeUlm2(ts_vesicle *vesicle);
3b3902 6 ts_double plgndr(ts_int l, ts_int m, ts_double x);
88f451 7 ts_double shY(ts_int l,ts_int m,ts_double theta,ts_double fi);
SP 8
3b3902 9 ts_bool *cart2sph(ts_coord *coord, ts_double x, ts_double y, ts_double z);
e9c87e 10 ts_bool sph2cart(ts_coord *coord);
074a17 11 ts_bool precomputeShCoeff(ts_spharm *sph);
5bb11d 12 ts_spharm *sph_init(ts_vertex_list *vlist, ts_uint l);
SP 13 ts_bool sph_free(ts_spharm *sph);
9bf6ee 14 ts_double getR0(ts_vesicle *vesicle);
SP 15 ts_bool preparationSh(ts_vesicle *vesicle, ts_double r0);
16 ts_bool calculateYlmi(ts_vesicle *vesicle);
79048f 17 ts_bool calculateUlm(ts_vesicle *vesicle);
dc77e8 18 ts_bool saveAvgUlm2(ts_vesicle *vesicle);
88f451 19 #endif