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 9f391af 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.5 KB
|
Line | |
---|
1 | #if !defined(lamellar_h) |
---|
2 | #define lamellar_h |
---|
3 | /** Structure definition for lamellar parameters |
---|
4 | * [PYTHONCLASS] = LamellarModel |
---|
5 | * [DISP_PARAMS] = bi_thick |
---|
6 | [DESCRIPTION] = <text>[Dilute Lamellar Form Factor](from a lyotropic lamellar phase) |
---|
7 | I(q)= 2*pi*P(q)/(delta *q^(2)), where |
---|
8 | P(q)=2*(contrast/q)^(2)*(1-cos(q*delta))^(2)) |
---|
9 | bi_thick = bilayer thickness |
---|
10 | sld_bi = SLD of bilayer |
---|
11 | sld_sol = SLD of solvent |
---|
12 | background = Incoherent background |
---|
13 | scale = scale factor |
---|
14 | |
---|
15 | </text> |
---|
16 | [FIXED]= <text>bi_thick.width</text> |
---|
17 | **/ |
---|
18 | typedef struct { |
---|
19 | /// Scale factor |
---|
20 | // [DEFAULT]=scale=1.0 |
---|
21 | double scale; |
---|
22 | /// delta bilayer thickness [A] |
---|
23 | // [DEFAULT]=bi_thick=50.0 [A] |
---|
24 | double bi_thick; |
---|
25 | /// SLD of bilayer [1/A^(2)] |
---|
26 | // [DEFAULT]=sld_bi=1.0e-6 [1/A^(2)] |
---|
27 | double sld_bi; |
---|
28 | /// SLD of solvent [1/A^(2)] |
---|
29 | // [DEFAULT]=sld_sol=6.3e-6 [1/A^(2)] |
---|
30 | double sld_sol; |
---|
31 | /// Incoherent Background [1/cm] 0.00 |
---|
32 | // [DEFAULT]=background=0.0 [1/cm] |
---|
33 | double background; |
---|
34 | |
---|
35 | |
---|
36 | } LamellarParameters; |
---|
37 | |
---|
38 | /// kernel |
---|
39 | double lamellar_kernel(double dp[], double q); |
---|
40 | /// 1D scattering function |
---|
41 | double lamellar_analytical_1D(LamellarParameters *pars, double q); |
---|
42 | |
---|
43 | /// 2D scattering function |
---|
44 | double lamellar_analytical_2D(LamellarParameters *pars, double q, double phi); |
---|
45 | double lamellar_analytical_2DXY(LamellarParameters *pars, double qx, double qy); |
---|
46 | double lamellar_analytical_2D_scaled(LamellarParameters *pars, double q, double q_x, double q_y); |
---|
47 | |
---|
48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.