source: sasview/sansmodels/src/sans/models/c_extensions/binaryHS.h @ bdc25e2

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 bdc25e2 was 2399b2a, checked in by Jae Cho <jhjcho@…>, 14 years ago

remove some un-used c_extension models

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