Ignore:
Timestamp:
Oct 14, 2010 12:30:23 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

more models and some tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_extensions/ellipsoid.c

    rf10063e r8f20419d  
    3232 
    3333        // 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); 
    3535 
    3636        return sph_func*sph_func; 
     
    9999 
    100100    // q vector 
    101     q_z = 0; 
     101    q_z = 0.0; 
    102102 
    103103    // Compute the angle btw vector q and the 
Note: See TracChangeset for help on using the changeset viewer.