[2c4b289] | 1 | #if !defined(binaryHS_PSF11_h) |
---|
| 2 | #define binaryHS_PSF11_h |
---|
| 3 | |
---|
| 4 | /** |
---|
| 5 | * Structure definition for binary hard sphere parameters |
---|
| 6 | |
---|
| 7 | [PYTHONCLASS] = BinaryHSPSF11Model |
---|
| 8 | [DISP_PARAMS] = l_radius,s_radius |
---|
| 9 | [DESCRIPTION] =<text> |
---|
| 10 | Model parameters: |
---|
[27972c1d] | 11 | |
---|
[2c4b289] | 12 | l_radius : large radius of the binary hard sphere |
---|
| 13 | s_radius : small radius of the binary hard sphere |
---|
[27972c1d] | 14 | vol_frac_ls : volume fraction of large spheres |
---|
[2c4b289] | 15 | vol_frac_ss : volume fraction of small spheres |
---|
| 16 | ls_sld: large sphere scattering length density |
---|
| 17 | ss_sld: small sphere scattering length density |
---|
| 18 | solvent_sld: solvent scattering length density |
---|
| 19 | background: incoherent background |
---|
| 20 | </text> |
---|
| 21 | [FIXED]= l_radius.width;s_radius.width |
---|
| 22 | [ORIENTATION_PARAMS]= <text> </text> |
---|
| 23 | */ |
---|
| 24 | typedef struct { |
---|
[27972c1d] | 25 | |
---|
[2c4b289] | 26 | /// large radius of the binary hard sphere [A] |
---|
| 27 | // [DEFAULT]=l_radius= 160.0 [A] |
---|
| 28 | double l_radius; |
---|
| 29 | |
---|
| 30 | /// small radius of the binary hard sphere [A] |
---|
| 31 | // [DEFAULT]=s_radius= 25.0 [A] |
---|
| 32 | double s_radius; |
---|
| 33 | |
---|
[27972c1d] | 34 | /// volume fraction of large spheres |
---|
| 35 | // [DEFAULT]=vol_frac_ls= 0.2 |
---|
[2c4b289] | 36 | double vol_frac_ls; |
---|
| 37 | |
---|
[27972c1d] | 38 | /// volume fraction of small spheres |
---|
| 39 | // [DEFAULT]=vol_frac_ss= 0.2 |
---|
[2c4b289] | 40 | double vol_frac_ss; |
---|
| 41 | |
---|
[27972c1d] | 42 | /// large sphere scattering length density [1/A^(2)] |
---|
| 43 | // [DEFAULT]=ls_sld= 3.5e-6 [1/A^(2)] |
---|
[2c4b289] | 44 | double ls_sld; |
---|
| 45 | |
---|
[27972c1d] | 46 | /// lsmall sphere scattering length density [1/A^(2)] |
---|
| 47 | // [DEFAULT]=ss_sld= 5e-7 [1/A^(2)] |
---|
[2c4b289] | 48 | double ss_sld; |
---|
| 49 | |
---|
[27972c1d] | 50 | /// solvent scattering length density [1/A^(2)] |
---|
| 51 | // [DEFAULT]=solvent_sld= 6.36e-6 [1/A^(2)] |
---|
[2c4b289] | 52 | double solvent_sld; |
---|
| 53 | |
---|
| 54 | /// Incoherent Background [1/cm] |
---|
| 55 | // [DEFAULT]=background=0.001 [1/cm] |
---|
| 56 | double background; |
---|
| 57 | |
---|
| 58 | } BinaryHSPSF11Parameters; |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | /// 1D scattering function |
---|
| 63 | double binaryHS_PSF11_analytical_1D(BinaryHSPSF11Parameters *pars, double q); |
---|
| 64 | |
---|
| 65 | /// 2D scattering function |
---|
| 66 | double binaryHS_PSF11_analytical_2D(BinaryHSPSF11Parameters *pars, double q, double phi); |
---|
| 67 | double binaryHS_PSF11_analytical_2DXY(BinaryHSPSF11Parameters *pars, double qx, double qy); |
---|
| 68 | |
---|
| 69 | #endif |
---|