ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since 4696058 was
0164899a,
checked in by Jae Cho <jhjcho@…>, 14 years ago
|
new models and some bug fixes
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | #if !defined(sld_cal_h) |
---|
2 | #define sld_cal_h |
---|
3 | |
---|
4 | /** |
---|
5 | * To calculate the sld value |
---|
6 | * [PYTHONCLASS] = SLDCalFunc |
---|
7 | * [DISP_PARAMS] = npts_inter |
---|
8 | [DESCRIPTION] =<text>To calculate sld values |
---|
9 | </text> |
---|
10 | [FIXED]= <text> |
---|
11 | </text> |
---|
12 | |
---|
13 | **/ |
---|
14 | typedef struct { |
---|
15 | /// fun_type |
---|
16 | // [DEFAULT]=fun_type=0 |
---|
17 | double fun_type; |
---|
18 | |
---|
19 | /// npts_inter |
---|
20 | // [DEFAULT]=npts_inter= 21 |
---|
21 | double npts_inter; |
---|
22 | |
---|
23 | /// shell_num |
---|
24 | // [DEFAULT]=shell_num= 0 |
---|
25 | double shell_num; |
---|
26 | |
---|
27 | /// nu_inter |
---|
28 | // [DEFAULT]=nu_inter= 2.5 |
---|
29 | double nu_inter; |
---|
30 | |
---|
31 | /// sld_left [1/A^(2)] |
---|
32 | // [DEFAULT]=sld_left= 0 [1/A^(2)] |
---|
33 | double sld_left; |
---|
34 | |
---|
35 | /// sld_right [1/A^(2)] |
---|
36 | // [DEFAULT]=sld_right= 0 [1/A^(2)] |
---|
37 | double sld_right; |
---|
38 | |
---|
39 | } SLDCalParameters; |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | /// 1D function |
---|
44 | double sld_cal_analytical_1D(SLDCalParameters *pars, double q); |
---|
45 | |
---|
46 | /// 2D function |
---|
47 | double sld_cal_analytical_2D(SLDCalParameters *pars, double q, double phi); |
---|
48 | double sld_cal_analytical_2DXY(SLDCalParameters *pars, double qx, double qy); |
---|
49 | |
---|
50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.