Changeset 642046e in sasmodels for sasmodels/models/fcc_paracrystal.c


Ignore:
Timestamp:
Sep 25, 2018 10:08:49 AM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
ticket_1156
Children:
2a39ca4
Parents:
0b906ea
Message:

set particle volume fraction according to lattice spacing rather than nearest-neighbour distance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/fcc_paracrystal.c

    r6530963 r642046e  
    3131fcc_volume_fraction(double radius, double lattice_spacing) 
    3232{ 
    33     return 4.0*sphere_volume(M_SQRT1_2*radius/lattice_spacing); 
     33    return 4.0*sphere_volume(radius/lattice_spacing); 
    3434} 
    3535 
Note: See TracChangeset for help on using the changeset viewer.