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