source: sasview/src/sas/models/include/vesicle.h @ d2143ab

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 d2143ab 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.4 KB
Line 
1#if !defined(vesicle_h)
2#define vesicle_h
3#include "parameters.hh"
4
5/**
6 * Structure definition for vesicle parameters
7[PYTHONCLASS] = VesicleModel
8[DISP_PARAMS] = radius,thickness
9[DESCRIPTION] =<text>Model parameters:    radius : the core radius of the vesicle
10                thickness: the shell thickness
11                core_sld: the core SLD
12                shell_sld: the shell SLD
13                background: incoherent background
14                scale : scale factor
15</text>
16[FIXED]=  radius.width; thickness.width
17[ORIENTATION_PARAMS]= <text> </text>
18 */
19
20class VesicleModel{
21public:
22  // Model parameters
23  /// Scale factor
24  //  [DEFAULT]=scale= 1.0
25  Parameter scale;
26
27  /// Core radius of the vesicle [A]
28  //  [DEFAULT]=radius= 100.0 [A]
29  Parameter radius;
30
31  /// shell thickness [A]
32  //  [DEFAULT]=thickness= 30.0 [A]
33  Parameter thickness;
34
35  /// core_solv scattering length density [1/A^(2)]
36  //  [DEFAULT]=solv_sld= 6.36e-6 [1/A^(2)]
37  Parameter solv_sld;
38
39  /// shell scattering length density [1/A^(2)]
40  //  [DEFAULT]=shell_sld= 5.0e-7 [1/A^(2)]
41  Parameter shell_sld;
42
43  /// Incoherent Background [1/cm]
44  //  [DEFAULT]=background=0 [1/cm]
45  Parameter background;
46
47  //Constructor
48  VesicleModel();
49
50  //Operators to get I(Q)
51  double operator()(double q);
52  double operator()(double qx , double qy);
53  double calculate_ER();
54  double calculate_VR();
55  double evaluate_rphi(double q, double phi);
56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.