source: sasview/sansmodels/src/sans/models/c_extensions/HayterMSA.h @ 7a8faf8

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 7a8faf8 was e369627, checked in by Jae Cho <jhjcho@…>, 14 years ago

removed some c functions

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