Changeset ec9d329 in sasmodels


Ignore:
Timestamp:
Oct 14, 2016 7:56:55 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
0b717c5
Parents:
5abbad7
Message:

one more factor of 2.0 for fcc, and now it matches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/fcc_paracrystal.c

    r5abbad7 rec9d329  
    107107    const double Fq = sphere_form(q,radius,sld,solvent_sld)*Zq; 
    108108    //the occupied volume of the lattice 
    109     const double lattice_scale = 2.0*sphere_volume(M_SQRT1_2*radius/dnn); 
     109    const double lattice_scale = 4.0*sphere_volume(M_SQRT1_2*radius/dnn); 
    110110    return lattice_scale * Fq; 
    111111} 
Note: See TracChangeset for help on using the changeset viewer.