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> |
---|
7 | NOTE: The total bilayer thickness = 2(h_thickness + t_length) |
---|
8 | The meaning of the multiplicative scale factor is not well-defined, but should be on the |
---|
9 | order of the volume fraction of solution occupied by the lamellar crystallites. Please see |
---|
10 | the original references for clarification. |
---|
11 | </text> |
---|
12 | [FIXED]= t_length.width, h_thickness.width |
---|
13 | [ORIENTATION_PARAMS]= |
---|
14 | **/ |
---|
15 | typedef struct { |
---|
16 | /// Scale factor |
---|
17 | // [DEFAULT]=scale=1.0 |
---|
18 | double scale; |
---|
19 | /// tail length [A] |
---|
20 | // [DEFAULT]=t_length=15.0 [A] |
---|
21 | double t_length; |
---|
22 | /// head thickness |
---|
23 | // [DEFAULT]=h_thickness=10.0 [A] |
---|
24 | double h_thickness; |
---|
25 | /// tail scrattering density length[1/A²] |
---|
26 | // [DEFAULT]=sld_tail=4e-7 [1/A²] |
---|
27 | double sld_tail; |
---|
28 | /// head group scrattering density length[1/A²] |
---|
29 | // [DEFAULT]=sld_head=3e-6 [1/A²] |
---|
30 | double sld_head; |
---|
31 | /// solvent scrattering density length[1/A²] |
---|
32 | // [DEFAULT]=sld_solvent=6e-6 [1/A²] |
---|
33 | double sld_solvent; |
---|
34 | /// Incoherent Background [1/cm] 0.00 |
---|
35 | // [DEFAULT]=background=0.0 [1/cm] |
---|
36 | double background; |
---|
37 | |
---|
38 | } LamellarFF_HGParameters; |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | /// 1D scattering function |
---|
43 | double lamellarFF_HG_analytical_1D(LamellarFF_HGParameters *pars, double q); |
---|
44 | |
---|
45 | /// 2D scattering function |
---|
46 | double lamellarFF_HG_analytical_2D(LamellarFF_HGParameters *pars, double q, double phi); |
---|
47 | double lamellarFF_HG_analytical_2DXY(LamellarFF_HGParameters *pars, double qx, double qy); |
---|
48 | double lamellarFF_HG_analytical_2D_scaled(LamellarFF_HGParameters *pars, double q, double q_x, double q_y); |
---|
49 | |
---|
50 | #endif |
---|