1 | /* |
---|
2 | libCylinderFit.h -- equates for CylinderFit XOP |
---|
3 | */ |
---|
4 | #if defined(_MSC_VER) |
---|
5 | #include "winFuncs.h" |
---|
6 | #endif |
---|
7 | |
---|
8 | /* Prototypes */ |
---|
9 | /* IGOR Fit Functions */ |
---|
10 | double CylinderForm(double dp[], double q); |
---|
11 | double EllipCyl76(double dp[], double q); |
---|
12 | double EllipCyl20(double dp[], double q); |
---|
13 | double TriaxialEllipsoid(double dp[], double q); |
---|
14 | double Parallelepiped(double dp[], double q); |
---|
15 | double HollowCylinder(double dp[], double q); |
---|
16 | double EllipsoidForm(double dp[], double q); |
---|
17 | double Cyl_PolyRadius(double dp[], double q); |
---|
18 | double Cyl_PolyLength(double dp[], double q); |
---|
19 | double CoreShellCylinder(double dp[], double q); |
---|
20 | double OblateForm(double dp[], double q); |
---|
21 | double ProlateForm(double dp[], double q); |
---|
22 | double FlexExclVolCyl(double dp[], double q); |
---|
23 | double FlexCyl_PolyLen(double dp[], double q); |
---|
24 | double FlexCyl_PolyRad(double dp[], double q); |
---|
25 | double FlexCyl_Ellip(double dp[], double q); |
---|
26 | double PolyCoShCylinder(double dp[], double q); |
---|
27 | double StackedDiscs(double dp[], double q); |
---|
28 | double LamellarFF(double dp[], double q); |
---|
29 | double LamellarFF_HG(double dp[], double q); |
---|
30 | double LamellarPS(double dp[], double q); |
---|
31 | double LamellarPS_HG(double dp[], double q); |
---|
32 | double Lamellar_ParaCrystal(double dp[], double q); |
---|
33 | double Spherocylinder(double dp[], double q); |
---|
34 | double ConvexLens(double dp[], double q); |
---|
35 | double Dumbbell(double dp[], double q); |
---|
36 | double CappedCylinder(double dp[], double q); |
---|
37 | double Barbell(double dp[], double q); |
---|
38 | double PolyCoreBicelle(double dp[], double q); |
---|
39 | double CSParallelepiped(double dp[], double q); |
---|
40 | |
---|
41 | /* internal functions */ |
---|
42 | double CylKernel(double qq, double rr,double h, double theta); |
---|
43 | double NR_BessJ1(double x); |
---|
44 | double EllipCylKernel(double qq, double ra,double nu, double theta); |
---|
45 | double TriaxialKernel(double q, double aa, double bb, double cc, double dx, double dy); |
---|
46 | double PPKernel(double aa, double mu, double uu); |
---|
47 | double HolCylKernel(double qq, double rcore, double rshell, double length, double dum); |
---|
48 | double EllipsoidKernel(double qq, double a, double va, double dum); |
---|
49 | double Cyl_PolyRadKernel(double q, double radius, double length, double zz, double delrho, double dumRad); |
---|
50 | double SchulzPoint_cpr(double dumRad, double radius, double zz); |
---|
51 | double Cyl_PolyLenKernel(double q, double radius, double len_avg, double zz, double delrho, double dumLen); |
---|
52 | double CoreShellCylKernel(double qq, double rcore, double thick, double rhoc, double rhos, double rhosolv, double length, double dum); |
---|
53 | double gfn4(double xx, double crmaj, double crmin, double trmaj, double trmin, double delpc, double delps, double qq); |
---|
54 | double gfn2(double xx, double crmaj, double crmin, double trmaj, double trmin, double delpc, double delps, double qq); |
---|
55 | double FlePolyLen_kernel(double q, double radius, double length, double lb, double zz, double delrho, double zi); |
---|
56 | double FlePolyRad_kernel(double q, double ravg, double Lc, double Lb, double zz, double delrho, double zi); |
---|
57 | double EllipticalCross_fn(double qq, double a, double b); |
---|
58 | double CScyl(double qq, double rad, double radthick, double facthick, double rhoc, double rhos, double rhosolv, double length, double dum); |
---|
59 | double CSCylIntegration(double qq, double rad, double radthick, double facthick, double rhoc, double rhos, double rhosolv, double length); |
---|
60 | double Stackdisc_kern(double qq, double rcore, double rhoc, double rhol, double rhosolv, double length, double thick, double dum, double gsd, double d, double N); |
---|
61 | double paraCryst_sn(double ww, double qval, double davg, long nl, double an); |
---|
62 | double paraCryst_an(double ww, double qval, double davg, long nl); |
---|
63 | double SphCyl_kernel(double w[], double x, double tt, double Theta); |
---|
64 | double ConvLens_kernel(double w[], double x, double tt, double theta); |
---|
65 | double Dumb_kernel(double w[], double x, double tt, double theta); |
---|
66 | double BicelleKernel(double qq, double rad, double radthick, double facthick, double rhoc, double rhoh, double rhor, double rhosolv, double length, double dum); |
---|
67 | double BicelleIntegration(double qq, double rad, double radthick, double facthick, double rhoc, double rhoh, double rhor, double rhosolv, double length); |
---|
68 | double CSPPKernel(double dp[], double mu, double uu); |
---|
69 | |
---|
70 | |
---|