source: sasview/sansmodels/src/sans/models/c_extensions/lamellarFF_HG.h @ 19e432e

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 19e432e 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.6 KB
Line 
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
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>
15        [FIXED]= t_length.width, h_thickness.width
16        [ORIENTATION_PARAMS]=
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;
25    /// head thickness
26    //  [DEFAULT]=h_thickness=10.0 [A]
27    double h_thickness;
28        /// tail scrattering length density[1/A^(2)]
29    //  [DEFAULT]=sld_tail=4e-7 [1/A^(2)]
30    double sld_tail;
31    /// head group scrattering length density[1/A^(2)]
32    //  [DEFAULT]=sld_head=3e-6 [1/A^(2)]
33    double sld_head;
34         /// solvent scrattering length density[1/A^(2)]
35    //  [DEFAULT]=sld_solvent=6e-6 [1/A^(2)]
36    double sld_solvent;
37        /// Incoherent Background [1/cm] 0.00
38        //  [DEFAULT]=background=0.0 [1/cm]
39        double background;
40
41} LamellarFF_HGParameters;
42
43
44
45/// 1D scattering function
46//double lamellarFF_HG_analytical_1D(LamellarFF_HGParameters *pars, double q);
47
48/// 2D scattering function
49//double lamellarFF_HG_analytical_2D(LamellarFF_HGParameters *pars, double q, double phi);
50//double lamellarFF_HG_analytical_2DXY(LamellarFF_HGParameters *pars, double qx, double qy);
51
52#endif
Note: See TracBrowser for help on using the repository browser.