1 | #if !defined(lamellarFF_HG_h) |
---|
2 | #define lamellarFF_HG_h |
---|
3 | /** Structure definition for lamellar parameters |
---|
4 | * [PYTHONCLASS] = LamellarFFHGModel |
---|
5 | * [DISP_PARAMS] = t_length, h_thickness |
---|
6 | [DESCRIPTION] = <text> Parameters: t_length = tail length, h_thickness = head thickness, |
---|
7 | scale = Scale factor, |
---|
8 | background = incoherent Background |
---|
9 | sld_tail = tail scattering length density , |
---|
10 | sld_solvent = solvent scattering length density. |
---|
11 | NOTE: The total bilayer thickness |
---|
12 | = 2(h_thickness+ t_length). |
---|
13 | |
---|
14 | </text> |
---|
15 | [FIXED]= t_length.width, h_thickness.width |
---|
16 | [ORIENTATION_PARAMS]= |
---|
17 | **/ |
---|
18 | typedef struct { |
---|
19 | /// Scale factor |
---|
20 | // [DEFAULT]=scale=1.0 |
---|
21 | double scale; |
---|
22 | /// tail length [A] |
---|
23 | // [DEFAULT]=t_length=15.0 [A] |
---|
24 | double t_length; |
---|
25 | /// head thickness |
---|
26 | // [DEFAULT]=h_thickness=10.0 [A] |
---|
27 | double h_thickness; |
---|
28 | /// tail scrattering length density[1/A²] |
---|
29 | // [DEFAULT]=sld_tail=4e-7 [1/A²] |
---|
30 | double sld_tail; |
---|
31 | /// head group scrattering length density[1/A²] |
---|
32 | // [DEFAULT]=sld_head=3e-6 [1/A²] |
---|
33 | double sld_head; |
---|
34 | /// solvent scrattering length density[1/A²] |
---|
35 | // [DEFAULT]=sld_solvent=6e-6 [1/A²] |
---|
36 | double sld_solvent; |
---|
37 | /// Incoherent Background [1/cm] 0.00 |
---|
38 | // [DEFAULT]=background=0.0 [1/cm] |
---|
39 | double background; |
---|
40 | |
---|
41 | } LamellarFF_HGParameters; |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | /// 1D scattering function |
---|
46 | double lamellarFF_HG_analytical_1D(LamellarFF_HGParameters *pars, double q); |
---|
47 | |
---|
48 | /// 2D scattering function |
---|
49 | double lamellarFF_HG_analytical_2D(LamellarFF_HGParameters *pars, double q, double phi); |
---|
50 | double lamellarFF_HG_analytical_2DXY(LamellarFF_HGParameters *pars, double qx, double qy); |
---|
51 | |
---|
52 | #endif |
---|