Trisurf Monte Carlo simulator
Samo Penic
2018-07-02 f977e8fe32b6a1a2ae85662ab35fd7c9f647cc3e
Added a funciton that calculates everything needed for spherical harmonics
2 files modified
9 ■■■■■ changed files
src/shcomplex.c 8 ●●●●● patch | view | raw | blame | history
src/shcomplex.h 1 ●●●● patch | view | raw | blame | history
src/shcomplex.c
@@ -177,3 +177,11 @@
    return gsl_complex_abs2(vesicle->sphHarmonics->ulmComplex[l][m]);
}
void solve_for_ulm2(ts_vesicle *vesicle){
    ts_double r0=getR0(vesicle);
    preparationSh(vesicle,r0);
    calculateUlmComplex(vesicle);
    storeUlmComplex2(vesicle);
}
src/shcomplex.h
@@ -8,4 +8,5 @@
ts_bool calculateUlmComplex(ts_vesicle *vesicle);
ts_double calculateKc(ts_vesicle *vesicle, ts_int lmin, ts_int lmax);
ts_double get_absolute_ulm2(ts_vesicle *vesicle, int l, int m);
void solve_for_ulm2(ts_vesicle *vesicle);
#endif