source: sasview/sansmodels/src/c_extensions/Hardsphere.h @ 31af069

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 31af069 was 67424cd, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

Reorganizing models in preparation of cpp cleanup

  • Property mode set to 100644
File size: 1.2 KB
Line 
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] = effect_radius
9 //[DESCRIPTION] =<text>Structure factor for interacting particles:                   .
10 //
11 //  The interparticle potential is
12 //
13 //                     U(r)= inf   , r < 2R
14 //                         = 0     , r >= 2R
15 //
16 //                                             R: effective radius of the Hardsphere particle
17 //                                             V:The volume fraction
18 //
19 //    Ref: Percus., J. K.,etc., J. Phy.
20 //     Rev. 1958, 110, 1.
21 //      </text>
22 //[FIXED]= effect_radius.width
23
24
25typedef struct {
26    /// effect radius of hardsphere [A]
27    //  [DEFAULT]=effect_radius=50.0 [A]
28    double effect_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.