[34c3020] | 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 |
---|
[b4679de] | 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> |
---|
[34c3020] | 15 | [FIXED]= t_length.width, h_thickness.width |
---|
[b4679de] | 16 | [ORIENTATION_PARAMS]= |
---|
[34c3020] | 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; |
---|
[b4679de] | 25 | /// head thickness |
---|
[34c3020] | 26 | // [DEFAULT]=h_thickness=10.0 [A] |
---|
| 27 | double h_thickness; |
---|
[27972c1d] | 28 | /// tail scrattering length density[1/A^(2)] |
---|
| 29 | // [DEFAULT]=sld_tail=4e-7 [1/A^(2)] |
---|
[34c3020] | 30 | double sld_tail; |
---|
[27972c1d] | 31 | /// head group scrattering length density[1/A^(2)] |
---|
| 32 | // [DEFAULT]=sld_head=3e-6 [1/A^(2)] |
---|
[34c3020] | 33 | double sld_head; |
---|
[27972c1d] | 34 | /// solvent scrattering length density[1/A^(2)] |
---|
| 35 | // [DEFAULT]=sld_solvent=6e-6 [1/A^(2)] |
---|
[34c3020] | 36 | double sld_solvent; |
---|
| 37 | /// Incoherent Background [1/cm] 0.00 |
---|
| 38 | // [DEFAULT]=background=0.0 [1/cm] |
---|
| 39 | double background; |
---|
[b4679de] | 40 | |
---|
[34c3020] | 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 |
---|