Changeset ee60aa7 in sasmodels for sasmodels/models/core_shell_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/core_shell_sphere.c

    rd277229 ree60aa7  
    88effective_radius(int mode, double radius, double thickness) 
    99{ 
    10     if (mode == 1) { 
     10    switch (mode) { 
     11    case 1: // outer radius 
    1112        return radius + thickness; 
    12     } else { 
     13    case 2: // core radius 
    1314        return radius; 
    1415    } 
Note: See TracChangeset for help on using the changeset viewer.