Changeset 3a48772 in sasmodels for sasmodels/models/parallelepiped.c
- Timestamp:
- Oct 14, 2016 5:23:40 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- a5b6997
- Parents:
- b716cc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/parallelepiped.c
ra807206 r3a48772 71 71 double uu = 0.5 * ( Gauss76Z[j] + 1.0 ); 72 72 double mudum = mu * sqrt(1.0-sigma*sigma); 73 double arg1 = 0.5 * mudum * cos( 0.5*M_PI*uu);74 double arg2 = 0.5 * mudum * a_scaled * sin( 0.5*M_PI*uu);73 double arg1 = 0.5 * mudum * cos(M_PI_2*uu); 74 double arg2 = 0.5 * mudum * a_scaled * sin(M_PI_2*uu); 75 75 if(arg1==0.0) { 76 76 tmp1 = 1.0;
Note: See TracChangeset
for help on using the changeset viewer.