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 c09ac449 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.6 KB
|
Rev | Line | |
---|
[25579e8] | 1 | #if !defined(StickyHS_h) |
---|
| 2 | #define StickyHS_h |
---|
| 3 | |
---|
| 4 | /** |
---|
| 5 | * Structure definition for StickyHS_struct (struncture factor) parameters |
---|
| 6 | */ |
---|
| 7 | //[PYTHONCLASS] = StickyHSStructure |
---|
| 8 | //[DISP_PARAMS] = radius |
---|
[1ed3834] | 9 | //[DESCRIPTION] =<text> Structure Factor for interacting particles: . |
---|
[25579e8] | 10 | // |
---|
| 11 | // The interaction potential is |
---|
| 12 | // |
---|
| 13 | // U(r)= inf , r < 2R |
---|
| 14 | // = -Uo , 2R < r < 2R + w |
---|
| 15 | // = 0 , r >= 2R +w |
---|
| 16 | // |
---|
[70faf5d] | 17 | // R: radius of the hardsphere |
---|
[25579e8] | 18 | // stickiness = [exp(Uo/kT)]/(12*perturb) |
---|
| 19 | // perturb = w/(w+ 2R) , 0.01 =< w <= 0.1 |
---|
| 20 | // w: The width of the square well ,w > 0 |
---|
| 21 | // v: The volume fraction , v > 0 |
---|
| 22 | // |
---|
[1ed3834] | 23 | // Ref: Menon, S. V. G.,et.al., J. Chem. |
---|
| 24 | // Phys., 1991, 95(12), 9186-9190. |
---|
[25579e8] | 25 | // </text> |
---|
[70faf5d] | 26 | //[FIXED]= radius.width |
---|
[25579e8] | 27 | typedef struct { |
---|
[1ed3834] | 28 | /// Radius of hardsphere [A] |
---|
| 29 | // [DEFAULT]=radius=50.0 [A] |
---|
[25579e8] | 30 | double radius; |
---|
| 31 | |
---|
| 32 | /// Volume fraction |
---|
| 33 | // [DEFAULT]=volfraction= 0.1 |
---|
| 34 | double volfraction; |
---|
| 35 | |
---|
| 36 | /// Perturbation Parameter ( between 0.01 - 0.1) |
---|
| 37 | // [DEFAULT]=perturb=0.05 |
---|
| 38 | double perturb; |
---|
| 39 | |
---|
| 40 | /// Stickiness |
---|
| 41 | // [DEFAULT]=stickiness= 0.2 |
---|
| 42 | double stickiness; |
---|
| 43 | } StickyHSParameters; |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | /// 1D scattering function |
---|
| 48 | double StickyHS_analytical_1D(StickyHSParameters *pars, double q); |
---|
| 49 | |
---|
| 50 | /// 2D scattering function |
---|
| 51 | double StickyHS_analytical_2D(StickyHSParameters *pars, double q, double phi); |
---|
| 52 | double StickyHS_analytical_2DXY(StickyHSParameters *pars, double qx, double qy); |
---|
| 53 | |
---|
| 54 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.