[ae3ce4e] | 1 | #if !defined(core_shell_h) |
---|
| 2 | #define core_shell_h |
---|
| 3 | |
---|
[0f5bc9f] | 4 | /** |
---|
| 5 | * Structure definition for core-shell parameters |
---|
[ae3ce4e] | 6 | */ |
---|
| 7 | //[PYTHONCLASS] = CoreShellModel |
---|
[0f5bc9f] | 8 | //[DISP_PARAMS] = radius, thickness |
---|
[1ed3834] | 9 | //[DESCRIPTION] =<text>Form factor for a monodisperse spherical particle with particle |
---|
| 10 | // with a core-shell structure: |
---|
| 11 | // |
---|
[70faf5d] | 12 | // The form factor is normalized by the |
---|
| 13 | // total particle volume. |
---|
[25579e8] | 14 | // |
---|
[1ed3834] | 15 | // radius: core radius, thickness: shell thickness |
---|
[70faf5d] | 16 | // |
---|
| 17 | // Ref: Guinier, A. and G. Fournet, |
---|
| 18 | // John Wiley and Sons, New York, 1955. |
---|
[25579e8] | 19 | // </text> |
---|
[836fe6e] | 20 | //[FIXED]= <text> thickness.width;radius.width</text> |
---|
[25a608f5] | 21 | |
---|
| 22 | |
---|
[ae3ce4e] | 23 | typedef struct { |
---|
[0f5bc9f] | 24 | /// Scale factor |
---|
[ae3ce4e] | 25 | // [DEFAULT]=scale=1.0 |
---|
| 26 | double scale; |
---|
[1ed3834] | 27 | /// Core Radius [A] 60.0 |
---|
| 28 | // [DEFAULT]=radius=60.0 [A] |
---|
[ae3ce4e] | 29 | double radius; |
---|
[1ed3834] | 30 | /// Shell Thickness [A] 10.0 |
---|
| 31 | // [DEFAULT]=thickness=10 [A] |
---|
[ae3ce4e] | 32 | double thickness; |
---|
[27972c1d] | 33 | /// Core SLD [1/A^(2)] 1.0e-6 |
---|
| 34 | // [DEFAULT]=core_sld=1.0e-6 [1/A^(2)] |
---|
[ae3ce4e] | 35 | double core_sld; |
---|
[27972c1d] | 36 | /// Shell SLD [1/A^(2)] 2.0e-6 |
---|
| 37 | // [DEFAULT]=shell_sld=2.0e-6 [1/A^(2)] |
---|
[ae3ce4e] | 38 | double shell_sld; |
---|
[27972c1d] | 39 | /// Solvent SLD [1/A^(2)] 3.0e-6 |
---|
| 40 | // [DEFAULT]=solvent_sld=3.0e-6 [1/A^(2)] |
---|
[ae3ce4e] | 41 | double solvent_sld; |
---|
[70faf5d] | 42 | /// Incoherent Background [1/cm] 0.000 |
---|
| 43 | // [DEFAULT]=background=0 [1/cm] |
---|
[0f5bc9f] | 44 | double background; |
---|
[ae3ce4e] | 45 | } CoreShellParameters; |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | /// 1D scattering function |
---|
[2399b2a] | 50 | //double core_shell_analytical_1D(CoreShellParameters *pars, double q); |
---|
[ae3ce4e] | 51 | |
---|
| 52 | /// 2D scattering function |
---|
[2399b2a] | 53 | //double core_shell_analytical_2D(CoreShellParameters *pars, double q, double phi); |
---|
| 54 | //double core_shell_analytical_2DXY(CoreShellParameters *pars, double qx, double qy); |
---|
[ae3ce4e] | 55 | |
---|
| 56 | #endif |
---|