Changeset 5d4777d in sasmodels for sasmodels/models/cylinder_onefile.py


Ignore:
Timestamp:
Sep 1, 2014 11:24:38 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:
f4cf580
Parents:
ff7119b
Message:

reorganize, check and update models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/cylinder_onefile.py

    ra7684e5 r5d4777d  
    154154source = [ "lib/J1.c", "lib/gauss76.c", "lib/cylkernel.c" ] 
    155155 
    156 c_form_volume = """ 
     156form_volume = """ 
    157157    return M_PI*radius*radius*length; 
    158 """ 
    159  
    160 c_Iq = """ 
     158    """ 
     159 
     160Iq = """ 
    161161    const real h = REAL(0.5)*length; 
    162162    real summ = REAL(0.0); 
     
    174174    const real s = (sld - solvent_sld) * form_volume(radius, length); 
    175175    return REAL(1.0e-4) * form * s * s; 
    176 """ 
    177  
    178 c_Iqxy = """ 
     176    """ 
     177 
     178Iqxy = """ 
    179179    real sn, cn; // slots to hold sincos function output 
    180180 
     
    204204    const real s = (sld - solvent_sld) * form_volume(radius, length); 
    205205    return REAL(1.0e-4) * form * s * s; // * correction; 
    206 """ 
     206    """ 
    207207 
    208208def ER(radius, length): 
Note: See TracChangeset for help on using the changeset viewer.