Changeset 2c4b289 in sasview for sansmodels/src/sans/models
- Timestamp:
- Jul 13, 2009 9:17:07 AM (15 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:
- 770e4c9
- Parents:
- e4193d9
- Location:
- sansmodels/src/sans/models
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/c_models.c
r3d25331f r2c4b289 55 55 addCVesicleModel(m); 56 56 addCBinaryHSModel(m); 57 addCBinaryHSPSF11Model(m); 57 58 58 59 } -
sansmodels/src/sans/models/c_models/c_models.cpp
r3d25331f r2c4b289 35 35 void addCVesicleModel(PyObject *module); 36 36 void addCBinaryHSModel(PyObject *module); 37 void addCBinaryHSPSF11Model(PyObject *module); 37 38 38 39 … … 188 189 addCMultiShellModel(m); 189 190 addCBinaryHSModel(m); 191 addCBinaryHSPSF11Model(m); 190 192 addDisperser(m); 191 193 addCGaussian(m); -
sansmodels/src/sans/models/c_models/models.hh
r3d25331f r2c4b289 545 545 }; 546 546 547 class BinaryHSPSF11Model{ 548 public: 549 // Model parameters 550 Parameter l_radius; 551 Parameter s_radius; 552 Parameter vol_frac_ls; 553 Parameter vol_frac_ss; 554 Parameter ls_sld; 555 Parameter ss_sld; 556 Parameter solvent_sld; 557 Parameter background; 558 559 //Constructor 560 BinaryHSPSF11Model(); 561 562 //Operators to get I(Q) 563 double operator()(double q); 564 double operator()(double qx , double qy); 565 double evaluate_rphi(double q, double phi); 566 }; 567 547 568 #endif
Note: See TracChangeset
for help on using the changeset viewer.