source: sasview/sansmodels/src/sans/models/c_extensions/lamellarPC.h @ f4b37d1

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 f4b37d1 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.8 KB
Line 
1#if !defined(lamellarPC_h)
2#define lamellarPC_h
3/** Structure definition for lamellar_paracrystal parameters
4 * [PYTHONCLASS] = LamellarPCrystalModel
5 * [DISP_PARAMS] =  thickness
6   [DESCRIPTION] = <text>[Lamellar ParaCrystal Model] Parameter Definitions: scale = scale factor,
7                        background = incoherent background
8                        thickness = lamellar thickness,
9                        sld_layer = layer scattering length density ,
10                        sld_solvent = solvent scattering length density.
11                        Nlayers = no. of lamellar layers
12                        spacing = spacing between layers
13                        pd_spacing = polydispersity of spacing
14                        Note: This model can be used for large
15                                multilamellar vesicles.
16
17        </text>
18        [FIXED]= thickness.width;
19        [ORIENTATION_PARAMS]=
20 **/
21typedef struct {
22    /// Scale factor
23    //  [DEFAULT]=scale=1.0
24    double scale;
25    /// thickness
26    //  [DEFAULT]=thickness=33.0 [A]
27    double thickness;
28    /// Nlayers
29    //  [DEFAULT]=Nlayers=20.0
30    double Nlayers;
31    /// spacing
32    //  [DEFAULT]=spacing=250.0 [A]
33    double spacing;
34    /// poly-dispersity of spacing
35    //  [DEFAULT]=pd_spacing=0.0
36    double pd_spacing;
37    /// layer scrattering length density[1/A^(2)]
38    //  [DEFAULT]=sld_layer=1.0e-6 [1/A^(2)]
39    double sld_layer;
40        /// solvent scrattering length density[1/A^(2)]
41    //  [DEFAULT]=sld_solvent=6.34e-6 [1/A^(2)]
42    double sld_solvent;
43        /// Incoherent Background [1/cm] 0.00
44        //  [DEFAULT]=background=0.0 [1/cm]
45        double background;
46
47} LamellarPCParameters;
48
49
50
51/// 1D scattering function
52//double lamellarPC_analytical_1D(LamellarPCParameters *pars, double q);
53
54/// 2D scattering function
55//double lamellarPC_analytical_2D(LamellarPCParameters *pars, double q, double phi);
56//double lamellarPC_analytical_2DXY(LamellarPCParameters *pars, double qx, double qy);
57
58#endif
Note: See TracBrowser for help on using the repository browser.