Changeset 94a3f8f in sasview for sansmodels/src/sans/models
- Timestamp:
- Oct 7, 2010 4:27:47 PM (14 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:
- d5b6a9d
- Parents:
- a1ecfc3
- Location:
- sansmodels/src/sans/models
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/c_models.cpp
r35aface r94a3f8f 20 20 void addCHardsphereStructure(PyObject *module); 21 21 void addCStickyHSStructure(PyObject *module); 22 void addCSCCrystalModel(PyObject *module); 22 23 void addCSquareWellStructure(PyObject *module); 23 24 void addCHayterMSAStructure(PyObject *module); … … 229 230 addCHardsphereStructure(m); 230 231 addCStickyHSStructure(m); 232 addCSCCrystalModel(m); 231 233 addCSquareWellStructure(m); 232 234 addCHayterMSAStructure(m); -
sansmodels/src/sans/models/c_models/models.hh
r35aface r94a3f8f 278 278 // Constructor 279 279 SphereModel(); 280 281 // Operators to get I(Q) 282 double operator()(double q); 283 double operator()(double qx, double qy); 284 double calculate_ER(); 285 double evaluate_rphi(double q, double phi); 286 }; 287 288 289 class SCCrystalModel{ 290 public: 291 // Model parameters 292 Parameter scale; 293 Parameter dnn; 294 Parameter d_factor; 295 Parameter radius; 296 Parameter sldSph; 297 Parameter sldSolv; 298 Parameter background; 299 Parameter theta; 300 Parameter phi; 301 Parameter psi; 302 303 // Constructor 304 SCCrystalModel(); 280 305 281 306 // Operators to get I(Q)
Note: See TracChangeset
for help on using the changeset viewer.