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 20f00bed was
27972c1d,
checked in by Jae Cho <jhjcho@…>, 15 years ago
|
removed all non asc font in the units
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | #if !defined(vesicle_h) |
---|
2 | #define vesicle_h |
---|
3 | |
---|
4 | /** |
---|
5 | * Structure definition for vesicle parameters |
---|
6 | [PYTHONCLASS] = VesicleModel |
---|
7 | [DISP_PARAMS] = radius,thickness |
---|
8 | [DESCRIPTION] =<text>Model parameters: radius : the core radius of the vesicle |
---|
9 | thickness: the shell thickness |
---|
10 | core_sld: the core SLD |
---|
11 | shell_sld: the shell SLD |
---|
12 | background: incoherent background |
---|
13 | scale : scale factor |
---|
14 | </text> |
---|
15 | [FIXED]= radius.width; thickness.width |
---|
16 | [ORIENTATION_PARAMS]= <text> </text> |
---|
17 | */ |
---|
18 | typedef struct { |
---|
19 | /// Scale factor |
---|
20 | // [DEFAULT]=scale= 1.0 |
---|
21 | double scale; |
---|
22 | |
---|
23 | /// Core radius of the vesicle [A] |
---|
24 | // [DEFAULT]=radius= 100.0 [A] |
---|
25 | double radius; |
---|
26 | |
---|
27 | /// shell thickness [A] |
---|
28 | // [DEFAULT]=thickness= 30.0 [A] |
---|
29 | double thickness; |
---|
30 | |
---|
31 | /// core scattering length density [1/A^(2)] |
---|
32 | // [DEFAULT]=core_sld= 6.36e-6 [1/A^(2)] |
---|
33 | double core_sld; |
---|
34 | |
---|
35 | /// shell scattering length density [1/A^(2)] |
---|
36 | // [DEFAULT]=shell_sld= 5.0e-7 [1/A^(2)] |
---|
37 | double shell_sld; |
---|
38 | |
---|
39 | /// Incoherent Background [1/cm] |
---|
40 | // [DEFAULT]=background=0 [1/cm] |
---|
41 | double background; |
---|
42 | |
---|
43 | } VesicleParameters; |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | /// 1D scattering function |
---|
48 | double vesicle_analytical_1D(VesicleParameters *pars, double q); |
---|
49 | |
---|
50 | /// 2D scattering function |
---|
51 | double vesicle_analytical_2D(VesicleParameters *pars, double q, double phi); |
---|
52 | double vesicle_analytical_2DXY(VesicleParameters *pars, double qx, double qy); |
---|
53 | |
---|
54 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.