Changeset 1c6286d in sasmodels for sasmodels/models/lamellar_hg_stack_caille.c
- Timestamp:
- Mar 3, 2017 2:26:08 PM (7 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:
- 3f853beb
- Parents:
- 5a0b3d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lamellar_hg_stack_caille.c
rabb6e4f r1c6286d 28 28 29 29 Sq = 0.0; 30 for(int ii=1; ii <=Nlayers-1; ii++) {30 for(int ii=1; ii < Nlayers; ii++) { 31 31 temp = 0.0; 32 32 alpha = Cp/4.0/M_PI/M_PI*(log(M_PI*ii) + Euler); … … 40 40 //if (temp < 0) printf("q=%g: ii=%d, cos(dd*q*ii)=cos(%g) < 0\n",qval,ii,dd*qval*ii); 41 41 //temp *= exp(-1.0*(t2 + t3)/(2.0*(1.0+t1)) ); 42 temp *= exp(-t2/2.0 42 temp *= exp(-t2/2.0); 43 43 //temp /= sqrt(1.0+t1); 44 44
Note: See TracChangeset
for help on using the changeset viewer.