Changeset ead25cb in sasmodels


Ignore:
Timestamp:
Jan 16, 2018 9:51:49 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
e9ed2de
Parents:
9149238
Message:

update comment to explain length 152 vector for gauss150

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lib/gauss150.c

    r74768cb read25cb  
    1616 #define GAUSS_W Gauss150Wt 
    1717 
    18 // Note: using array size 152 so that it is a multiple of 4 
    1918 
    20 // Gaussians 
     19// Note: using array size 152 rather than 150 so that it is a multiple of 4. 
     20// Some OpenCL devices prefer that vectors start and end on nice boundaries. 
    2121constant double Gauss150Z[152]={ 
    2222        -0.9998723404457334, 
     
    170170        0.9993274305065947, 
    171171        0.9998723404457334, 
    172         0., 
    173         0. 
     172        0., // zero padding is ignored 
     173        0.  // zero padding is ignored 
    174174}; 
    175175 
     
    325325        0.0007624720924706, 
    326326        0.0003276086705538, 
    327         0., 
    328         0. 
     327        0., // zero padding is ignored 
     328        0.  // zero padding is ignored 
    329329}; 
Note: See TracChangeset for help on using the changeset viewer.