Changeset f425805 in sasview for sansmodels/src/c_models
- Timestamp:
- Jan 4, 2012 4:51:34 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 43ccd258
- Parents:
- acd0fd10
- Location:
- sansmodels/src/c_models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/c_models/barbell.cpp
r85b856b rf425805 21 21 22 22 #include <math.h> 23 #include "models.hh"23 //#include "models.hh" 24 24 #include "parameters.hh" 25 25 #include <stdio.h> -
sansmodels/src/c_models/models.hh
r67424cd rf425805 41 41 // Constructor 42 42 CylinderModel(); 43 44 // Operators to get I(Q)45 double operator()(double q);46 double operator()(double qx, double qy);47 double calculate_ER();48 double evaluate_rphi(double q, double phi);49 };50 51 class BarBellModel{52 public:53 // Model parameters54 Parameter scale;55 Parameter rad_bar;56 Parameter len_bar;57 Parameter rad_bell;58 Parameter sld_barbell;59 Parameter sld_solv;60 Parameter background;61 Parameter theta;62 Parameter phi;63 64 // Constructor65 BarBellModel();66 43 67 44 // Operators to get I(Q)
Note: See TracChangeset
for help on using the changeset viewer.