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 c25f1fa was
e369627,
checked in by Jae Cho <jhjcho@…>, 14 years ago
|
removed some c functions
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | #if !defined(DiamEllip_h) |
---|
2 | #define DiamEllip_h |
---|
3 | |
---|
4 | /** |
---|
5 | * To calculate the 2nd virial coefficient |
---|
6 | * [PYTHONCLASS] = DiamEllipFunc |
---|
7 | * [DISP_PARAMS] = radius_a, radius_b |
---|
8 | [DESCRIPTION] =<text>To calculate the 2nd virial coefficient for |
---|
9 | the non-spherical object, then find the |
---|
10 | radius of sphere that has this value of |
---|
11 | virial coefficient: |
---|
12 | radius_a = polar radius, |
---|
13 | radius_b = equatorial radius; |
---|
14 | radius_a > radius_b: Prolate spheroid, |
---|
15 | radius_a < radius_b: Oblate spheroid. |
---|
16 | </text> |
---|
17 | [FIXED]= <text> |
---|
18 | radius_a.width;radius_b.width |
---|
19 | </text> |
---|
20 | |
---|
21 | **/ |
---|
22 | typedef struct { |
---|
23 | /// Polar radius [A] |
---|
24 | // [DEFAULT]=radius_a=20.0 A |
---|
25 | double radius_a; |
---|
26 | |
---|
27 | /// Equatorial radius [A] |
---|
28 | // [DEFAULT]=radius_b= 400 A |
---|
29 | double radius_b; |
---|
30 | |
---|
31 | } DiamEllipsParameters; |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | /// 1D scattering function |
---|
36 | //double DiamEllips_analytical_1D(DiamEllipsParameters *pars, double q); |
---|
37 | |
---|
38 | /// 2D scattering function |
---|
39 | //double DiamEllips_analytical_2D(DiamEllipsParameters *pars, double q, double phi); |
---|
40 | //double DiamEllips_analytical_2DXY(DiamEllipsParameters *pars, double qx, double qy); |
---|
41 | |
---|
42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.