source: sasview/sansmodels/src/sans/models/c_extensions/multishell.h @ ef70686

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 ef70686 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(multishell_h)
2#define multishell_h
3
4/**
5 * Structure definition for sphere parameters
6
7        [PYTHONCLASS] = MultiShellModel
8        [DISP_PARAMS] = core_radius, s_thickness, w_thickness
9        [DESCRIPTION] =<text> MultiShell (Sphere) Model (or Multilamellar Vesicles): Model parameters;
10                                scale : scale factor
11                                core_radius : Core radius of the multishell
12                                s_thickness: shell thickness
13                                w_thickness: water thickness
14                                core_sld: core scattering length density
15                                shell_sld: shell scattering length density
16                                n_pairs:number of pairs of water/shell
17                                background: incoherent background
18               </text>
19        [FIXED]=  core_radius.width; s_thickness.width; w_thickness.width
20        [ORIENTATION_PARAMS]= <text> </text>
21 */
22typedef struct {
23    /// Scale factor
24    //  [DEFAULT]=scale= 1.0
25    double scale;
26
27    /// Core radius of the multishell [A]
28    //  [DEFAULT]=core_radius=60.0 [A]
29    double core_radius;
30
31        ///     shell thickness [A]
32    //  [DEFAULT]=s_thickness= 10.0 [A]
33    double s_thickness;
34
35    /// water thickness [A]
36    //  [DEFAULT]=w_thickness= 10.0 [A]
37    double w_thickness;
38
39        ///     core scattering length density [1/A^(2)]
40    //  [DEFAULT]=core_sld= 6.4e-6 [1/A^(2)]
41    double core_sld;
42
43    /// shell scattering length density [1/A^(2)]
44    //  [DEFAULT]=shell_sld= 4.0e-7 [1/A^(2)]
45    double shell_sld;
46
47        ///     number of pairs of water and shell
48    //  [DEFAULT]=n_pairs= 2
49    double n_pairs;
50
51        /// Incoherent Background [1/cm]
52        //  [DEFAULT]=background=0 [1/cm]
53        double background;
54
55} MultiShellParameters;
56
57
58
59/// 1D scattering function
60//double multishell_analytical_1D(MultiShellParameters *pars, double q);
61
62/// 2D scattering function
63//double multishell_analytical_2D(MultiShellParameters *pars, double q, double phi);
64//double multishell_analytical_2DXY(MultiShellParameters *pars, double qx, double qy);
65
66#endif
Note: See TracBrowser for help on using the repository browser.