Changeset 30fbe2e in sasmodels for sasmodels/models/pringle.c


Ignore:
Timestamp:
Oct 1, 2016 12:53:30 PM (8 years ago)
Author:
butler
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
5b60eeb
Parents:
7c57861
Message:

Last of parameter normalization. Fixes #649

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/pringle.c

    r58c3367 r30fbe2e  
    66          double alpha, 
    77          double beta, 
    8           double sld_pringle, 
     8          double sld, 
    99          double sld_solvent); 
    1010 
     
    110110    double alpha, 
    111111    double beta, 
    112     double sld_pringle, 
     112    double sld, 
    113113    double sld_solvent) 
    114114{ 
    115115    double form = _integrate_psi(q, radius, thickness, alpha, beta); 
    116     double contrast = sld_pringle - sld_solvent; 
     116    double contrast = sld - sld_solvent; 
    117117    double volume = M_PI*radius*radius*thickness; 
    118118    return 1.0e-4*form * square(contrast * volume); 
Note: See TracChangeset for help on using the changeset viewer.