Changeset 1e40ed1 in sasview for sansmodels/src
- Timestamp:
- Aug 23, 2012 10:22:16 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:
- 10b3e1e
- Parents:
- fe112d1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/c_models/starpolymer.cpp
rf1e0c1eb r1e40ed1 27 27 double d_background = background(); 28 28 29 double u = d_R2 * pow(q,2);30 double v = pow(u,2.0)* d_arms / (3.0 * d_arms - 2.0);29 double u_2 = d_R2 * pow(q,2); 30 double v = u_2 * d_arms / (3.0 * d_arms - 2.0); 31 31 32 32 double term1 = v - 1.0 + exp(-v);
Note: See TracChangeset
for help on using the changeset viewer.