source: sasview/sansmodels/src/sans/models/c_extensions/lamellarFF_HG.h @ 7ad9887

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 7ad9887 was b4679de, checked in by Jae Cho <jhjcho@…>, 15 years ago

added 2d and model descpt + correction on polydisp. para.

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[34c3020]1#if !defined(lamellarFF_HG_h)
2#define lamellarFF_HG_h
3/** Structure definition for lamellar parameters
4 * [PYTHONCLASS] = LamellarFFHGModel
5 * [DISP_PARAMS] =  t_length, h_thickness
[b4679de]6   [DESCRIPTION] = <text> Parameters: t_length = tail length, h_thickness = head thickness,
7                        scale = Scale factor,
8                        background = incoherent Background
9                        sld_tail = tail scattering length density ,
10                        sld_solvent = solvent scattering length density.
11                        NOTE: The total bilayer thickness
12                        = 2(h_thickness+ t_length).
13
14        </text>
[34c3020]15        [FIXED]= t_length.width, h_thickness.width
[b4679de]16        [ORIENTATION_PARAMS]=
[34c3020]17 **/
18typedef struct {
19    /// Scale factor
20    //  [DEFAULT]=scale=1.0
21    double scale;
22    /// tail length [A]
23    //  [DEFAULT]=t_length=15.0 [A]
24    double t_length;
[b4679de]25    /// head thickness
[34c3020]26    //  [DEFAULT]=h_thickness=10.0 [A]
27    double h_thickness;
[b4679de]28        /// tail scrattering length density[1/A²]
[34c3020]29    //  [DEFAULT]=sld_tail=4e-7 [1/A²]
30    double sld_tail;
[b4679de]31    /// head group scrattering length density[1/A²]
[34c3020]32    //  [DEFAULT]=sld_head=3e-6 [1/A²]
33    double sld_head;
[b4679de]34         /// solvent scrattering length density[1/A²]
[34c3020]35    //  [DEFAULT]=sld_solvent=6e-6 [1/A²]
36    double sld_solvent;
37        /// Incoherent Background [1/cm] 0.00
38        //  [DEFAULT]=background=0.0 [1/cm]
39        double background;
[b4679de]40
[34c3020]41} LamellarFF_HGParameters;
42
43
44
45/// 1D scattering function
46double lamellarFF_HG_analytical_1D(LamellarFF_HGParameters *pars, double q);
47
48/// 2D scattering function
49double lamellarFF_HG_analytical_2D(LamellarFF_HGParameters *pars, double q, double phi);
50double lamellarFF_HG_analytical_2DXY(LamellarFF_HGParameters *pars, double qx, double qy);
51
52#endif
Note: See TracBrowser for help on using the repository browser.