[230f479] | 1 | // header for SphereFit.c |
---|
| 2 | #if defined(_MSC_VER) |
---|
| 3 | #include "winFuncs.h" |
---|
| 4 | #endif |
---|
| 5 | |
---|
| 6 | /* IGOR Fit Functions */ |
---|
| 7 | double MultiShell(double dp[], double q); |
---|
| 8 | double PolyMultiShell(double dp[], double q); |
---|
| 9 | double SphereForm(double dp[], double q); |
---|
| 10 | double CoreShellForm(double dp[], double q); |
---|
| 11 | double PolyCoreForm(double dp[], double q); |
---|
| 12 | double PolyCoreShellRatio(double dp[], double q); |
---|
| 13 | double VesicleForm(double dp[], double q); |
---|
| 14 | double SchulzSpheres(double dp[], double q); |
---|
| 15 | double PolyRectSpheres(double dp[], double q); |
---|
| 16 | double PolyHardSphereIntensity(double dp[], double q); |
---|
| 17 | double BimodalSchulzSpheres(double dp[], double q); |
---|
| 18 | double GaussPolySphere(double dp[], double q); |
---|
| 19 | double LogNormalPolySphere(double dp[], double q); |
---|
| 20 | double BinaryHS(double dp[], double q); |
---|
| 21 | double BinaryHS_PSF11(double dp[], double q); |
---|
| 22 | double BinaryHS_PSF12(double dp[], double q); |
---|
| 23 | double BinaryHS_PSF22(double dp[], double q); |
---|
| 24 | double OneShell(double dp[], double q); |
---|
| 25 | double TwoShell(double dp[], double q); |
---|
| 26 | double ThreeShell(double dp[], double q); |
---|
| 27 | double FourShell(double dp[], double q); |
---|
| 28 | double PolyOneShell(double dp[], double q); |
---|
| 29 | double PolyTwoShell(double dp[], double q); |
---|
| 30 | double PolyThreeShell(double dp[], double q); |
---|
| 31 | double PolyFourShell(double dp[], double q); |
---|
| 32 | double BCC_ParaCrystal(double dp[], double q); |
---|
| 33 | double FCC_ParaCrystal(double dp[], double q); |
---|
| 34 | double SC_ParaCrystal(double dp[], double q); |
---|
| 35 | double FuzzySpheres(double dp[], double q); |
---|
[0d41aeed] | 36 | double MicelleSphericalCore(double dp[], double q); |
---|
[230f479] | 37 | |
---|
| 38 | //function prototypes |
---|
| 39 | double F_func(double qr); |
---|
| 40 | double MultiShellGuts(double q,double rcore,double ts,double tw,double rhocore,double rhoshel,int num); |
---|
| 41 | double fnt2(double yy, double zz); |
---|
| 42 | double fnt3(double yy, double pp, double zz); |
---|
| 43 | double SchulzSphere_Fn(double scale, double ravg, double pd, double rho, double rhos, double x); |
---|
| 44 | int ashcroft(double qval, double r2, double nf2, double aa, double phi, double *s11, double *s22, double *s12); |
---|
| 45 | double BCC_Integrand(double w[], double qq, double xx, double yy); |
---|
| 46 | double BCCeval(double Theta, double Phi, double temp1, double temp3); |
---|
| 47 | double SphereForm_Paracrystal(double radius, double delrho, double x); |
---|
| 48 | double FCC_Integrand(double w[], double qq, double xx, double yy); |
---|
| 49 | double FCCeval(double Theta, double Phi, double temp1, double temp3); |
---|
| 50 | double SC_Integrand(double w[], double qq, double xx, double yy); |
---|
| 51 | double SCeval(double Theta, double Phi, double temp3, double temp4, double temp5); |
---|