Changeset 0496031 in sasmodels for sasmodels/models


Ignore:
Timestamp:
Sep 4, 2014 8:31:40 AM (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:
6ce1a29
Parents:
abb22f4
Message:

add theme to doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/cylinder.c

    r5d4777d r0496031  
    6161    // Compute angle alpha between q and the cylinder axis 
    6262    SINCOS(theta*M_PI_180, sn, cn); 
    63     // # The following correction factor exists in sasview, but it can't be 
    64     // # right, so we are leaving it out for now. 
    65     // const real correction = fabs(cn)*M_PI_2; 
    6663    const real q = sqrt(qx*qx+qy*qy); 
    6764    const real cos_val = cn*cos(phi*M_PI_180)*(qx/q) + sn*(qy/q); 
     
    7168    SINCOS(alpha, sn, cn); 
    7269    const real fq = _cyl(twovd, q*radius*sn, q*REAL(0.5)*length*cn); 
    73     return REAL(1.0e-4) * fq * fq; // * correction; 
     70    return REAL(1.0e-4) * fq * fq; 
    7471} 
Note: See TracChangeset for help on using the changeset viewer.