Changeset ff7119b in sasmodels for sasmodels/models/cylinder_clone.c


Ignore:
Timestamp:
Aug 26, 2014 8:27:06 PM (10 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
5d4777d
Parents:
a7684e5
Message:

docu update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/cylinder_clone.c

    r32c160a rff7119b  
    4545    // # The following correction factor exists in sasview, but it can't be 
    4646    // # right, so we are leaving it out for now. 
    47     // const real correction = fabs(cn)*M_PI_2; 
     47    const real spherical_integration = fabs(cn)*M_PI_2; 
    4848    const real q = sqrt(qx*qx+qy*qy); 
    4949    const real cos_val = cn*cos(cyl_phi*M_PI_180)*(qx/q) + sn*(qy/q); 
     
    6565    // The additional volume factor is for polydisperse volume normalization. 
    6666    const real s = (sldCyl - sldSolv) * form_volume(radius, length); 
    67     return REAL(1.0e8) * form * s * s; // * correction; 
     67    return REAL(1.0e8) * form * s * s * spherical_integration; 
    6868} 
Note: See TracChangeset for help on using the changeset viewer.