Changeset a94046f in sasmodels for sasmodels/models/core_shell_cylinder.c


Ignore:
Timestamp:
Sep 8, 2018 8:55:23 AM (6 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
fbaef04
Parents:
b763f9d
Message:

some corrections to R_eff options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_cylinder.c

    rd277229 ra94046f  
    2424{ 
    2525    const double radius_outer = radius + thickness; 
    26     const double length_outer = length + thickness; 
     26    const double length_outer = length + 2.0*thickness; 
    2727    return sqrt(radius_outer*radius_outer + 0.25*length_outer*length_outer); 
    2828} 
     
    3030static double 
    3131effective_radius(int mode, double radius, double thickness, double length) 
     32//effective_radius_type = ["equivalent sphere","outer radius","half outer length","half min outer dimension", 
     33//                         "half max outer dimension","half outer diagonal"] 
    3234{ 
    3335    if (mode == 1) { 
Note: See TracChangeset for help on using the changeset viewer.