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 9316609 was
96672c0,
checked in by Gervaise Alina <gervyh@…>, 16 years ago
|
code for description modified
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[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 |
---|
[96672c0] | 9 | //[DESCRIPTION] ="" |
---|
[ae3ce4e] | 10 | typedef struct { |
---|
[0f5bc9f] | 11 | /// Scale factor |
---|
[ae3ce4e] | 12 | // [DEFAULT]=scale=1.0 |
---|
| 13 | double scale; |
---|
| 14 | /// Core Radius (A) 60.0 |
---|
| 15 | // [DEFAULT]=radius=60.0 A |
---|
| 16 | double radius; |
---|
| 17 | /// Shell Thickness (A) 10.0 |
---|
| 18 | // [DEFAULT]=thickness=10 A |
---|
| 19 | double thickness; |
---|
| 20 | /// Core SLD (Å-2) 1.0e-6 |
---|
| 21 | // [DEFAULT]=core_sld=1.0e-6 A-2 |
---|
| 22 | double core_sld; |
---|
| 23 | /// Shell SLD (Å-2) 2.0e-6 |
---|
| 24 | // [DEFAULT]=shell_sld=2.0e-6 A-2 |
---|
| 25 | double shell_sld; |
---|
| 26 | /// Solvent SLD (Å-2) 3.0e-6 |
---|
| 27 | // [DEFAULT]=solvent_sld=3.0e-6 A-2 |
---|
| 28 | double solvent_sld; |
---|
| 29 | /// Incoherent Background (cm-1) 0.000 |
---|
| 30 | // [DEFAULT]=background=0 cm-1 |
---|
[0f5bc9f] | 31 | double background; |
---|
[ae3ce4e] | 32 | } CoreShellParameters; |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | /// 1D scattering function |
---|
| 37 | double core_shell_analytical_1D(CoreShellParameters *pars, double q); |
---|
| 38 | |
---|
| 39 | /// 2D scattering function |
---|
| 40 | double core_shell_analytical_2D(CoreShellParameters *pars, double q, double phi); |
---|
| 41 | double core_shell_analytical_2DXY(CoreShellParameters *pars, double qx, double qy); |
---|
| 42 | |
---|
| 43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.