Changeset f734e7d in sasmodels for sasmodels/models/lamellarPC_kernel.c
- Timestamp:
- Feb 22, 2015 1:44:54 AM (9 years ago)
- 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:
- 6137124
- Parents:
- 711d8e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lamellarPC_kernel.c
rdc02af0 rf734e7d 28 28 //get the fractional part of Nlayers, to determine the "mixing" of N's 29 29 30 n1 = trunc(Nlayers); //rounds towards zero30 n1 = (long)trunc(Nlayers); //rounds towards zero 31 31 n2 = n1 + 1; 32 32 xn = (double)n2 - Nlayers; //fractional contribution of n1
Note: See TracChangeset
for help on using the changeset viewer.