Changeset 34c2649 in sasview for sansmodels/src/sans/models/c_models/onion.cpp
- Timestamp:
- Nov 21, 2011 4:52:25 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 1810613
- Parents:
- afea8fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/onion.cpp
r339ce67 r34c2649 223 223 224 224 // Loop over radius weight points 225 for( int i=0; i<weights_rad.size(); i++) {225 for(size_t i=0; i<weights_rad.size(); i++) { 226 226 dp[2] = weights_rad[i].value; 227 227 // Loop over radius weight points 228 for( int j=0; j<weights_s1.size(); j++) {228 for(size_t j=0; j<weights_s1.size(); j++) { 229 229 dp[36] = weights_s1[j].value; 230 230 // Loop over radius weight points 231 for( int k=0; k<weights_s2.size(); k++) {231 for(size_t k=0; k<weights_s2.size(); k++) { 232 232 dp[37] = weights_s2[k].value; 233 233 // Loop over radius weight points 234 for( int l=0; l<weights_s3.size(); l++) {234 for(size_t l=0; l<weights_s3.size(); l++) { 235 235 dp[38] = weights_s3[l].value; 236 236 // Loop over radius weight points 237 for( int m=0; m<weights_s4.size(); m++) {237 for(size_t m=0; m<weights_s4.size(); m++) { 238 238 dp[39] = weights_s4[m].value; 239 for( int n=0; n<weights_s5.size(); n++) {239 for(size_t n=0; n<weights_s5.size(); n++) { 240 240 dp[40] = weights_s5[n].value; 241 for( int o=0; o<weights_s6.size(); o++) {241 for(size_t o=0; o<weights_s6.size(); o++) { 242 242 dp[41] = weights_s6[o].value; 243 for( int p=0; p<weights_s7.size(); p++) {243 for(size_t p=0; p<weights_s7.size(); p++) { 244 244 dp[42] = weights_s7[p].value; 245 for( int t=0; t<weights_s8.size(); t++) {245 for(size_t t=0; t<weights_s8.size(); t++) { 246 246 dp[43] = weights_s8[t].value; 247 for( int r=0; r<weights_s9.size(); r++) {247 for(size_t r=0; r<weights_s9.size(); r++) { 248 248 dp[44] = weights_s9[r].value; 249 for( int s=0; s<weights_s10.size(); s++) {249 for(size_t s=0; s<weights_s10.size(); s++) { 250 250 dp[45] = weights_s10[s].value; 251 251 //Un-normalize Shells by volume … … 375 375 376 376 // Loop over radius weight points 377 for( int i=0; i<weights_rad.size(); i++) {377 for(size_t i=0; i<weights_rad.size(); i++) { 378 378 dp.rad_core0 = weights_rad[i].value; 379 379 // Loop over radius weight points 380 for( int j=0; j<weights_s1.size(); j++) {380 for(size_t j=0; j<weights_s1.size(); j++) { 381 381 dp.thick_shell1 = weights_s1[j].value; 382 382 // Loop over radius weight points 383 for( int k=0; k<weights_s2.size(); k++) {383 for(size_t k=0; k<weights_s2.size(); k++) { 384 384 dp.thick_shell2 = weights_s2[k].value; 385 385 // Loop over radius weight points 386 for( int l=0; l<weights_s3.size(); l++) {386 for(size_t l=0; l<weights_s3.size(); l++) { 387 387 dp.thick_shell3 = weights_s3[l].value; 388 388 // Loop over radius weight points 389 for( int m=0; m<weights_s4.size(); m++) {389 for(size_t m=0; m<weights_s4.size(); m++) { 390 390 dp.thick_shell4 = weights_s4[m].value; 391 391 // Loop over radius weight points 392 for( int n=0; j<weights_s5.size(); n++) {392 for(size_t n=0; j<weights_s5.size(); n++) { 393 393 dp.thick_shell5 = weights_s5[n].value; 394 394 // Loop over radius weight points 395 for( int o=0; k<weights_s6.size(); o++) {395 for(size_t o=0; k<weights_s6.size(); o++) { 396 396 dp.thick_shell6 = weights_s6[o].value; 397 397 // Loop over radius weight points 398 for( int p=0; l<weights_s7.size(); p++) {398 for(size_t p=0; l<weights_s7.size(); p++) { 399 399 dp.thick_shell7 = weights_s7[p].value; 400 400 // Loop over radius weight points 401 for( int t=0; m<weights_s8.size(); t++) {401 for(size_t t=0; m<weights_s8.size(); t++) { 402 402 dp.thick_shell8 = weights_s8[t].value; 403 403 // Loop over radius weight points 404 for( int r=0; l<weights_s9.size(); r++) {404 for(size_t r=0; l<weights_s9.size(); r++) { 405 405 dp.thick_shell8 = weights_s9[r].value; 406 406 // Loop over radius weight points 407 for( int s=0; m<weights_s10.size(); s++) {407 for(size_t s=0; m<weights_s10.size(); s++) { 408 408 dp.thick_shell10 = weights_s10[s].value; 409 409 //Un-normalize FourShell by volume
Note: See TracChangeset
for help on using the changeset viewer.