[230f479] | 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); |
---|
[201af9f] | 40 | double RectangularPrism(double dp[], double q); |
---|
| 41 | double RectangularHollowPrismInfThinWalls(double dp[], double q); |
---|
| 42 | double RectangularHollowPrism(double dp[], double q); |
---|
[230f479] | 43 | |
---|
| 44 | /* internal functions */ |
---|
| 45 | double CylKernel(double qq, double rr,double h, double theta); |
---|
| 46 | double NR_BessJ1(double x); |
---|
| 47 | double EllipCylKernel(double qq, double ra,double nu, double theta); |
---|
| 48 | double TriaxialKernel(double q, double aa, double bb, double cc, double dx, double dy); |
---|
| 49 | double PPKernel(double aa, double mu, double uu); |
---|
| 50 | double HolCylKernel(double qq, double rcore, double rshell, double length, double dum); |
---|
| 51 | double EllipsoidKernel(double qq, double a, double va, double dum); |
---|
| 52 | double Cyl_PolyRadKernel(double q, double radius, double length, double zz, double delrho, double dumRad); |
---|
| 53 | double SchulzPoint_cpr(double dumRad, double radius, double zz); |
---|
| 54 | double Cyl_PolyLenKernel(double q, double radius, double len_avg, double zz, double delrho, double dumLen); |
---|
| 55 | double CoreShellCylKernel(double qq, double rcore, double thick, double rhoc, double rhos, double rhosolv, double length, double dum); |
---|
| 56 | double gfn4(double xx, double crmaj, double crmin, double trmaj, double trmin, double delpc, double delps, double qq); |
---|
| 57 | double gfn2(double xx, double crmaj, double crmin, double trmaj, double trmin, double delpc, double delps, double qq); |
---|
| 58 | double FlePolyLen_kernel(double q, double radius, double length, double lb, double zz, double delrho, double zi); |
---|
| 59 | double FlePolyRad_kernel(double q, double ravg, double Lc, double Lb, double zz, double delrho, double zi); |
---|
| 60 | double EllipticalCross_fn(double qq, double a, double b); |
---|
| 61 | double CScyl(double qq, double rad, double radthick, double facthick, double rhoc, double rhos, double rhosolv, double length, double dum); |
---|
| 62 | double CSCylIntegration(double qq, double rad, double radthick, double facthick, double rhoc, double rhos, double rhosolv, double length); |
---|
| 63 | 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); |
---|
| 64 | double paraCryst_sn(double ww, double qval, double davg, long nl, double an); |
---|
| 65 | double paraCryst_an(double ww, double qval, double davg, long nl); |
---|
| 66 | double SphCyl_kernel(double w[], double x, double tt, double Theta); |
---|
| 67 | double ConvLens_kernel(double w[], double x, double tt, double theta); |
---|
| 68 | double Dumb_kernel(double w[], double x, double tt, double theta); |
---|
| 69 | double BicelleKernel(double qq, double rad, double radthick, double facthick, double rhoc, double rhoh, double rhor, double rhosolv, double length, double dum); |
---|
| 70 | double BicelleIntegration(double qq, double rad, double radthick, double facthick, double rhoc, double rhoh, double rhor, double rhosolv, double length); |
---|
| 71 | double CSPPKernel(double dp[], double mu, double uu); |
---|
| 72 | |
---|
| 73 | |
---|