Changeset f8644dd in sasview for sansmodels/src/c_models/dabmodel.cpp
- Timestamp:
- Jul 9, 2012 9:57:01 AM (12 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:
- 14e4804
- Parents:
- a269378
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/c_models/dabmodel.cpp
rfa6db8b rf8644dd 47 47 48 48 double DABModel::calculate_ER() { 49 // not implemented yet 49 50 return 0.0; 50 51 } 51 52 52 53 double DABModel::calculate_VR() { 53 return 0.0;54 return 1.0; 54 55 } 55 56 56 57 double DABModel::evaluate_rphi(double q,double phi) { 57 return 1.0; 58 double qx = q * cos(phi); 59 double qy = q * sin(phi); 60 return this->operator()(qx,qy); 58 61 }
Note: See TracChangeset
for help on using the changeset viewer.