Changeset bdd08df in sasmodels for sasmodels/models/fractal_core_shell.c


Ignore:
Timestamp:
Nov 28, 2016 1:54:11 AM (7 years ago)
Author:
butler
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
d6f60c3
Parents:
07300ea
Message:

corrects fractal core shell S(q) to be based on radius of full particle
(core radius + thickness) and tested. Fixes #792

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/fractal_core_shell.c

    r217590b rbdd08df  
    1616   double cor_length) 
    1717{ 
    18     const double sq = fractal_sq(q, radius, fractal_dim, cor_length); 
     18    //The radius for the building block of the core shell particle that is  
     19    //needed by the Teixeira fractal S(q) is the radius of the whole particle. 
     20    const double cs_radius = radius + thickness; 
     21    const double sq = fractal_sq(q, cs_radius, fractal_dim, cor_length); 
    1922    const double pq = core_shell_kernel(q, radius, thickness, 
    2023                                        core_sld, shell_sld, solvent_sld); 
Note: See TracChangeset for help on using the changeset viewer.