source: sasview/sansmodels/src/sans/models/c_extensions/DiamCyl.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: 920 bytes
Line 
1#if !defined(DiamCyl_h)
2#define DiamCyl_h
3
4/**
5* To calculate the 2nd virial coefficient
6* [PYTHONCLASS] = DiamCylFunc
7* [DISP_PARAMS] = radius, length
8  [DESCRIPTION] =<text>To calculate the 2nd virial coefficient for
9  the non-spherical object, then find the
10  radius of sphere that has this value of
11  virial coefficient.
12                                </text>
13        [FIXED]= <text>
14                                radius.width; length.width
15                        </text>
16**/
17
18typedef struct {
19    /// Radius [A]
20    //  [DEFAULT]=radius=20.0 A
21    double radius;
22
23    /// Length [A]
24    //  [DEFAULT]=length= 400 A
25    double length;
26
27} DiamCyldParameters;
28
29
30
31/// 1D scattering function
32//double DiamCyld_analytical_1D(DiamCyldParameters *pars, double q);
33
34/// 2D scattering function
35//double DiamCyld_analytical_2D(DiamCyldParameters *pars, double q, double phi);
36//double DiamCyld_analytical_2DXY(DiamCyldParameters *pars, double qx, double qy);
37
38#endif
Note: See TracBrowser for help on using the repository browser.