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 cee6867 was
1ed3834,
checked in by Jae Cho <jhjcho@…>, 16 years ago
|
unit symbol Angst. back to A and re-organized model descriptions
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[25579e8] | 1 | #if !defined(Hardsphere_h) |
---|
| 2 | #define Hardsphere_h |
---|
| 3 | |
---|
| 4 | /** |
---|
| 5 | * Structure definition for HardsphereStructure (factor) parameters |
---|
| 6 | */ |
---|
| 7 | //[PYTHONCLASS] = HardsphereStructure |
---|
| 8 | //[DISP_PARAMS] = radius |
---|
[1ed3834] | 9 | //[DESCRIPTION] =<text>Structure factor for interacting particles: . |
---|
[25579e8] | 10 | // |
---|
| 11 | // The interparticle potential is |
---|
| 12 | // |
---|
| 13 | // U(r)= inf , r < 2R |
---|
| 14 | // = 0 , r >= 2R |
---|
| 15 | // |
---|
| 16 | // R: radius of the Hardsphere particle |
---|
[70faf5d] | 17 | // V:The volume fraction |
---|
[25579e8] | 18 | // |
---|
[1ed3834] | 19 | // Ref: Percus., J. K.,etc., J. Phy. |
---|
| 20 | // Rev. 1958, 110, 1. |
---|
[25579e8] | 21 | // </text> |
---|
[70faf5d] | 22 | //[FIXED]= radius.width |
---|
[25a608f5] | 23 | |
---|
| 24 | |
---|
[25579e8] | 25 | typedef struct { |
---|
[1ed3834] | 26 | /// Radius of hardsphere [A] |
---|
| 27 | // [DEFAULT]=radius=50.0 [A] |
---|
[25579e8] | 28 | double radius; |
---|
| 29 | |
---|
| 30 | /// Volume fraction |
---|
| 31 | // [DEFAULT]=volfraction= 0.2 |
---|
| 32 | double volfraction; |
---|
| 33 | } HardsphereParameters; |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | /// 1D scattering function |
---|
| 38 | double Hardsphere_analytical_1D(HardsphereParameters *pars, double q); |
---|
| 39 | |
---|
| 40 | /// 2D scattering function |
---|
| 41 | double Hardsphere_analytical_2D(HardsphereParameters *pars, double q, double phi); |
---|
| 42 | double Hardsphere_analytical_2DXY(HardsphereParameters *pars, double qx, double qy); |
---|
| 43 | |
---|
| 44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.