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 3fef0a8 was
70faf5d,
checked in by Jae Cho <jhjcho@…>, 16 years ago
|
changed notation of units
|
-
Property mode set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[25579e8] | 1 | #if !defined(HayterMSA_h) |
---|
| 2 | #define HayterMSA_h |
---|
| 3 | |
---|
| 4 | /** |
---|
| 5 | * Structure definition for screened Coulomb interaction |
---|
| 6 | */ |
---|
| 7 | //[PYTHONCLASS] = HayterMSAStructure |
---|
| 8 | //[DISP_PARAMS] = radius |
---|
[70faf5d] | 9 | //[DESCRIPTION] =<text>To calculate the structure factor (the Fourier transform |
---|
| 10 | // of the pair correlation function g(r)) for |
---|
| 11 | // a system of charged, spheroidal objects in |
---|
| 12 | // a dielectric medium. When combined with an |
---|
| 13 | // appropriate form factor, this allows |
---|
| 14 | // for inclusion of the interparticle |
---|
| 15 | // interference effects due to screened coulomb |
---|
[25579e8] | 16 | // repulsion between charged particles. |
---|
| 17 | // (note: charge > 0 required.) |
---|
| 18 | // |
---|
[70faf5d] | 19 | // Ref: JP Hansen and JB Hayter, Molecular |
---|
[25579e8] | 20 | // Physics 46, 651-656 (1982). |
---|
| 21 | // |
---|
| 22 | // </text> |
---|
[70faf5d] | 23 | //[FIXED]= radius.width |
---|
| 24 | |
---|
[25579e8] | 25 | typedef struct { |
---|
[70faf5d] | 26 | /// Radius of particle [Å] |
---|
| 27 | // [DEFAULT]=radius=20.75 [Å] |
---|
[25579e8] | 28 | double radius; |
---|
| 29 | |
---|
| 30 | /// charge |
---|
| 31 | // [DEFAULT]=charge= 19 |
---|
| 32 | double charge; |
---|
| 33 | |
---|
| 34 | /// Volume fraction |
---|
| 35 | // [DEFAULT]=volfraction= 0.0192 |
---|
| 36 | double volfraction; |
---|
| 37 | |
---|
| 38 | /// Temperature [K] |
---|
[70faf5d] | 39 | // [DEFAULT]=temperature= 318.16 [K] |
---|
[25579e8] | 40 | double temperature; |
---|
| 41 | |
---|
[70faf5d] | 42 | /// Monovalent salt concentration [M] |
---|
| 43 | // [DEFAULT]=saltconc= 0 [M] |
---|
[25579e8] | 44 | double saltconc; |
---|
| 45 | |
---|
[70faf5d] | 46 | /// Dielectric constant of solvent |
---|
| 47 | // [DEFAULT]=dielectconst= 71.08 |
---|
[25579e8] | 48 | double dielectconst; |
---|
| 49 | } HayterMSAParameters; |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | /// 1D scattering function |
---|
| 54 | double HayterMSA_analytical_1D(HayterMSAParameters *pars, double q); |
---|
| 55 | |
---|
| 56 | /// 2D scattering function |
---|
| 57 | double HayterMSA_analytical_2D(HayterMSAParameters *pars, double q, double phi); |
---|
| 58 | double HayterMSA_analytical_2DXY(HayterMSAParameters *pars, double qx, double qy); |
---|
| 59 | |
---|
| 60 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.