source: sasview/src/sas/models/include/lamellarPC.h @ c93122e

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 c93122e was 79492222, checked in by krzywon, 10 years ago

Changed the file and folder names to remove all SANS references.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1#if !defined(lamellarPC_h)
2#define lamellarPC_h
3#include "parameters.hh"
4
5/** Structure definition for lamellar_paracrystal parameters
6 * [PYTHONCLASS] = LamellarPCrystalModel
7 * [DISP_PARAMS] =  thickness
8   [DESCRIPTION] = <text>[Lamellar ParaCrystal Model] Parameter Definitions: scale = scale factor,
9                        background = incoherent background
10                        thickness = lamellar thickness,
11                        sld_layer = layer scattering length density ,
12                        sld_solvent = solvent scattering length density.
13                        Nlayers = no. of lamellar layers
14                        spacing = spacing between layers
15                        pd_spacing = polydispersity of spacing
16                        Note: This model can be used for large
17                                multilamellar vesicles.
18
19        </text>
20        [FIXED]= thickness.width;
21        [ORIENTATION_PARAMS]=
22 **/
23
24class LamellarPCrystalModel{
25public:
26  // Model parameters
27  /// Scale factor
28  //  [DEFAULT]=scale=1.0
29  Parameter scale;
30  /// thickness
31  //  [DEFAULT]=thickness=33.0 [A]
32  Parameter thickness;
33  /// Nlayers
34  //  [DEFAULT]=Nlayers=20.0
35  Parameter Nlayers;
36  /// spacing
37  //  [DEFAULT]=spacing=250.0 [A]
38  Parameter spacing;
39  /// poly-dispersity of spacing
40  //  [DEFAULT]=pd_spacing=0.0
41  Parameter pd_spacing;
42  /// layer scrattering length density[1/A^(2)]
43  //  [DEFAULT]=sld_layer=1.0e-6 [1/A^(2)]
44  Parameter sld_layer;
45  /// solvent scrattering length density[1/A^(2)]
46  //  [DEFAULT]=sld_solvent=6.34e-6 [1/A^(2)]
47  Parameter sld_solvent;
48  /// Incoherent Background [1/cm] 0.00
49  //  [DEFAULT]=background=0.0 [1/cm]
50  Parameter background;
51
52  // Constructor
53  LamellarPCrystalModel();
54
55  // Operators to get I(Q)
56  double operator()(double q);
57  double operator()(double qx, double qy);
58  double calculate_ER();
59  double calculate_VR();
60  double evaluate_rphi(double q, double phi);
61};
62
63#endif
Note: See TracBrowser for help on using the repository browser.