source: sasview/sansmodels/src/sans/models/c_extensions/vesicle.h @ d6da3b1

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 d6da3b1 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: 1.4 KB
RevLine 
[3d25331f]1#if !defined(vesicle_h)
2#define vesicle_h
3
4/**
5 * Structure definition for vesicle parameters
[42f193a]6[PYTHONCLASS] = VesicleModel
[e2afadf]7[DISP_PARAMS] = radius,thickness
[7ad9887]8[DESCRIPTION] =<text>Model parameters:    radius : the core radius of the vesicle
9                thickness: the shell thickness
10                core_sld: the core SLD
11                shell_sld: the shell SLD
[42f193a]12                background: incoherent background
13                scale : scale factor
14</text>
[e2afadf]15[FIXED]=  radius.width; thickness.width
[42f193a]16[ORIENTATION_PARAMS]= <text> </text>
[3d25331f]17 */
18typedef struct {
19    /// Scale factor
20    //  [DEFAULT]=scale= 1.0
21    double scale;
22
23    /// Core radius of the vesicle [A]
[e2afadf]24    //  [DEFAULT]=radius= 100.0 [A]
25    double radius;
[3d25331f]26
[27972c1d]27        ///     shell thickness [A]
[3d25331f]28    //  [DEFAULT]=thickness= 30.0 [A]
29    double thickness;
30
[27972c1d]31        ///     core scattering length density [1/A^(2)]
32    //  [DEFAULT]=core_sld= 6.36e-6 [1/A^(2)]
[3d25331f]33    double core_sld;
34
[27972c1d]35    /// shell scattering length density [1/A^(2)]
36    //  [DEFAULT]=shell_sld= 5.0e-7 [1/A^(2)]
[3d25331f]37    double shell_sld;
38
39        /// Incoherent Background [1/cm]
40        //  [DEFAULT]=background=0 [1/cm]
41        double background;
42
43} VesicleParameters;
44
45
46
47/// 1D scattering function
48double vesicle_analytical_1D(VesicleParameters *pars, double q);
49
50/// 2D scattering function
51double vesicle_analytical_2D(VesicleParameters *pars, double q, double phi);
52double vesicle_analytical_2DXY(VesicleParameters *pars, double qx, double qy);
53
54#endif
Note: See TracBrowser for help on using the repository browser.