Changeset ee60aa7 in sasmodels for sasmodels/models/fuzzy_sphere.c


Ignore:
Timestamp:
Sep 10, 2018 4:16:46 PM (6 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:
d299327
Parents:
3f818b2
Message:

clean up effective radius functions; improve mono_gauss_coil accuracy; start moving VR into C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/fuzzy_sphere.c

    rd277229 ree60aa7  
    77effective_radius(int mode, double radius, double fuzziness) 
    88{ 
    9     if (mode == 1) { 
     9    switch (mode) { 
     10    case 1: // radius 
    1011        return radius; 
    11     } else { 
     12    case 2: // radius + fuzziness 
    1213        return radius + fuzziness; 
    1314    } 
Note: See TracChangeset for help on using the changeset viewer.