source: sasview/sansmodels/src/sans/models/c_extensions/SquareWell.h @ 87615a48

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

removed some c functions

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#if !defined(SquareWell_h)
2#define SquareWell_h
3
4/**Structure definition for SquareWell parameters
5*/
6//   [PYTHONCLASS] = SquareWellStructure
7//   [DISP_PARAMS] = effect_radius
8//   [DESCRIPTION] = <text> Structure Factor for interacting particles:             .
9//
10//  The interaction potential is
11//
12//              U(r)= inf   , r < 2R
13//                      = -d    , 2R <= r <=2Rw
14//                      = 0     , r >= 2Rw
15//
16//              R: effective radius (A)of the particle
17//              v: volume fraction
18//              d: well depth
19//              w: well width; multiples of the
20//              particle diameter
21//
22//              Ref: Sharma, R. V.; Sharma,
23//      K. C., Physica, 1977, 89A, 213.
24//                      </text>
25//   [FIXED]= effect_radius.width
26//[ORIENTATION_PARAMS]= <text> </text>
27
28
29typedef struct {
30    /// effective radius of particle [A]
31    //  [DEFAULT]=effect_radius=50.0 [A]
32    double effect_radius;
33
34    /// Volume fraction
35    //  [DEFAULT]=volfraction= 0.040
36    double volfraction;
37
38    /// Well depth [kT]
39    //  [DEFAULT]=welldepth= 1.50 [kT]
40    double welldepth;
41
42    /// Well width
43    //  [DEFAULT]=wellwidth= 1.20
44    double wellwidth;
45
46} SquareWellParameters;
47
48
49
50/// 1D scattering function
51//double SquareWell_analytical_1D(SquareWellParameters *pars, double q);
52
53/// 2D scattering function
54//double SquareWell_analytical_2D(SquareWellParameters *pars, double q, double phi);
55//double SquareWell_analytical_2DXY(SquareWellParameters *pars, double qx, double qy);
56
57#endif
Note: See TracBrowser for help on using the repository browser.