Changeset 8f20419d in sasview for sansmodels/src/sans/models/c_extensions/ellipsoid.c
- Timestamp:
- Oct 14, 2010 12:30:23 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:
- 29100cb
- Parents:
- 4cc8285c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/ellipsoid.c
rf10063e r8f20419d 32 32 33 33 // Spherical scattering ampliture, with modified length for ellipsoid 34 sph_func = 3 *( sin(q*length) - q*length*cos(q*length) ) / (q*q*q*length*length*length);34 sph_func = 3.0*( sin(q*length) - q*length*cos(q*length) ) / (q*q*q*length*length*length); 35 35 36 36 return sph_func*sph_func; … … 99 99 100 100 // q vector 101 q_z = 0 ;101 q_z = 0.0; 102 102 103 103 // Compute the angle btw vector q and the
Note: See TracChangeset
for help on using the changeset viewer.