[d5b6a9d] | 1 | #if !defined(lamellarPC_h) |
---|
| 2 | #define lamellarPC_h |
---|
| 3 | /** Structure definition for lamellar_paracrystal parameters |
---|
| 4 | * [PYTHONCLASS] = LamellarPCrystalModel |
---|
| 5 | * [DISP_PARAMS] = thickness |
---|
| 6 | [DESCRIPTION] = <text>[Lamellar ParaCrystal Model] Parameter Definitions: scale = scale factor, |
---|
| 7 | background = incoherent background |
---|
| 8 | thickness = lamellar thickness, |
---|
| 9 | sld_layer = layer scattering length density , |
---|
| 10 | sld_solvent = solvent scattering length density. |
---|
| 11 | Nlayers = no. of lamellar layers |
---|
| 12 | spacing = spacing between layers |
---|
| 13 | pd_spacing = polydispersity of spacing |
---|
| 14 | Note: This model can be used for large |
---|
| 15 | multilamellar vesicles. |
---|
| 16 | |
---|
| 17 | </text> |
---|
| 18 | [FIXED]= thickness.width; |
---|
| 19 | [ORIENTATION_PARAMS]= |
---|
| 20 | **/ |
---|
| 21 | typedef struct { |
---|
| 22 | /// Scale factor |
---|
| 23 | // [DEFAULT]=scale=1.0 |
---|
| 24 | double scale; |
---|
| 25 | /// thickness |
---|
| 26 | // [DEFAULT]=thickness=33.0 [A] |
---|
| 27 | double thickness; |
---|
| 28 | /// Nlayers |
---|
| 29 | // [DEFAULT]=Nlayers=20.0 |
---|
| 30 | double Nlayers; |
---|
| 31 | /// spacing |
---|
| 32 | // [DEFAULT]=spacing=250.0 [A] |
---|
| 33 | double spacing; |
---|
| 34 | /// poly-dispersity of spacing |
---|
| 35 | // [DEFAULT]=pd_spacing=0.0 |
---|
| 36 | double pd_spacing; |
---|
| 37 | /// layer scrattering length density[1/A^(2)] |
---|
| 38 | // [DEFAULT]=sld_layer=1.0e-6 [1/A^(2)] |
---|
| 39 | double sld_layer; |
---|
| 40 | /// solvent scrattering length density[1/A^(2)] |
---|
| 41 | // [DEFAULT]=sld_solvent=6.34e-6 [1/A^(2)] |
---|
| 42 | double sld_solvent; |
---|
| 43 | /// Incoherent Background [1/cm] 0.00 |
---|
| 44 | // [DEFAULT]=background=0.0 [1/cm] |
---|
| 45 | double background; |
---|
| 46 | |
---|
| 47 | } LamellarPCParameters; |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | /// 1D scattering function |
---|
| 52 | double lamellarPC_analytical_1D(LamellarPCParameters *pars, double q); |
---|
| 53 | |
---|
| 54 | /// 2D scattering function |
---|
| 55 | double lamellarPC_analytical_2D(LamellarPCParameters *pars, double q, double phi); |
---|
| 56 | double lamellarPC_analytical_2DXY(LamellarPCParameters *pars, double qx, double qy); |
---|
| 57 | |
---|
| 58 | #endif |
---|