source: sasview/sansmodels/src/sans/models/c_extensions/models.h @ a9dec92

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 a9dec92 was a9dec92, checked in by Mathieu Doucet <doucetm@…>, 16 years ago

update to sans model functors

  • Property mode set to 100644
File size: 327 bytes
RevLine 
[17a6843]1#ifndef MODEL_CLASS_H
2#define MODEL_CLASS_H
3
[a9dec92]4extern "C" {
5        #include "cylinder.h"
6}
7
8class Cylinder {
[17a6843]9
10public:
[a9dec92]11        // Model parameters
12        CylinderParameters parameters;
13
14        // Constructor
[17a6843]15        Cylinder();
[a9dec92]16
17        // Operators to get I(Q)
[17a6843]18        double operator()(double q);
[a9dec92]19        double operator()(double qx, double qy);
20
[17a6843]21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.