source: sasview/sansmodels/src/sans/models/c_extensions/binaryHS_PSF11.h @ e2f7b92

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since e2f7b92 was 27972c1d, checked in by Jae Cho <jhjcho@…>, 15 years ago

removed all non asc font in the units

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[2c4b289]1#if !defined(binaryHS_PSF11_h)
2#define binaryHS_PSF11_h
3
4/**
5 * Structure definition for binary hard sphere parameters
6
7        [PYTHONCLASS] = BinaryHSPSF11Model
8        [DISP_PARAMS] = l_radius,s_radius
9        [DESCRIPTION] =<text>
10                                                Model parameters:
[27972c1d]11
[2c4b289]12                                                l_radius : large radius of the binary hard sphere
13                                                s_radius : small radius of the binary hard sphere
[27972c1d]14                                                vol_frac_ls : volume fraction of large spheres
[2c4b289]15                                                vol_frac_ss : volume fraction of small spheres
16                                                ls_sld: large sphere  scattering length density
17                                                ss_sld: small sphere scattering length density
18                                                solvent_sld: solvent scattering length density
19                                                background: incoherent background
20               </text>
21        [FIXED]= l_radius.width;s_radius.width
22        [ORIENTATION_PARAMS]= <text> </text>
23 */
24typedef struct {
[27972c1d]25
[2c4b289]26        ///     large radius of the binary hard sphere [A]
27    //  [DEFAULT]=l_radius= 160.0 [A]
28    double l_radius;
29
30    /// small radius of the binary hard sphere [A]
31    //  [DEFAULT]=s_radius= 25.0 [A]
32    double s_radius;
33
[27972c1d]34        ///     volume fraction of large spheres
35    //  [DEFAULT]=vol_frac_ls= 0.2
[2c4b289]36    double vol_frac_ls;
37
[27972c1d]38        ///     volume fraction of small spheres
39    //  [DEFAULT]=vol_frac_ss= 0.2
[2c4b289]40    double vol_frac_ss;
41
[27972c1d]42        ///     large sphere scattering length density [1/A^(2)]
43    //  [DEFAULT]=ls_sld= 3.5e-6 [1/A^(2)]
[2c4b289]44    double ls_sld;
45
[27972c1d]46        ///     lsmall sphere scattering length density [1/A^(2)]
47    //  [DEFAULT]=ss_sld= 5e-7 [1/A^(2)]
[2c4b289]48    double ss_sld;
49
[27972c1d]50    /// solvent scattering length density [1/A^(2)]
51    //  [DEFAULT]=solvent_sld= 6.36e-6 [1/A^(2)]
[2c4b289]52    double solvent_sld;
53
54        /// Incoherent Background [1/cm]
55        //  [DEFAULT]=background=0.001 [1/cm]
56        double background;
57
58} BinaryHSPSF11Parameters;
59
60
61
62/// 1D scattering function
63double binaryHS_PSF11_analytical_1D(BinaryHSPSF11Parameters *pars, double q);
64
65/// 2D scattering function
66double binaryHS_PSF11_analytical_2D(BinaryHSPSF11Parameters *pars, double q, double phi);
67double binaryHS_PSF11_analytical_2DXY(BinaryHSPSF11Parameters *pars, double qx, double qy);
68
69#endif
Note: See TracBrowser for help on using the repository browser.