Changeset 6d5601c in sasmodels for sasmodels/models/pringle.c


Ignore:
Timestamp:
Oct 25, 2018 5:03:37 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:
304c775
Parents:
149eb53
Message:

use 4/3 pi constant when computing R_eff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/pringle.c

    ree60aa7 r6d5601c  
    109109    switch (mode) { 
    110110    case 1: // equivalent sphere 
    111         return cbrt(0.75*radius*radius*thickness); 
     111        return cbrt(M_PI*radius*radius*thickness/M_4PI_3); 
    112112    case 2: // radius 
    113113        return radius; 
Note: See TracChangeset for help on using the changeset viewer.