Changeset 34c2649 in sasview for sansmodels/src/sans/models/c_models/corefourshell.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/corefourshell.cpp
r339ce67 r34c2649 103 103 104 104 // Loop over radius weight points 105 for( int i=0; i<weights_rad.size(); i++) {105 for(size_t i=0; i<weights_rad.size(); i++) { 106 106 dp[1] = weights_rad[i].value; 107 107 // Loop over radius weight points 108 for( int j=0; j<weights_s1.size(); j++) {108 for(size_t j=0; j<weights_s1.size(); j++) { 109 109 dp[3] = weights_s1[j].value; 110 110 // Loop over radius weight points 111 for( int k=0; k<weights_s2.size(); k++) {111 for(size_t k=0; k<weights_s2.size(); k++) { 112 112 dp[5] = weights_s2[k].value; 113 113 // Loop over radius weight points 114 for( int l=0; l<weights_s3.size(); l++) {114 for(size_t l=0; l<weights_s3.size(); l++) { 115 115 dp[7] = weights_s3[l].value; 116 116 // Loop over radius weight points 117 for( int m=0; m<weights_s4.size(); m++) {117 for(size_t m=0; m<weights_s4.size(); m++) { 118 118 dp[9] = weights_s4[m].value; 119 119 //Un-normalize FourShell by volume … … 206 206 207 207 // Loop over radius weight points 208 for( int i=0; i<weights_rad.size(); i++) {208 for(size_t i=0; i<weights_rad.size(); i++) { 209 209 dp.rad_core0 = weights_rad[i].value; 210 210 // Loop over radius weight points 211 for( int j=0; j<weights_s1.size(); j++) {211 for(size_t j=0; j<weights_s1.size(); j++) { 212 212 dp.thick_shell1 = weights_s1[j].value; 213 213 // Loop over radius weight points 214 for( int k=0; k<weights_s2.size(); k++) {214 for(size_t k=0; k<weights_s2.size(); k++) { 215 215 dp.thick_shell2 = weights_s2[k].value; 216 216 // Loop over radius weight points 217 for( int l=0; l<weights_s3.size(); l++) {217 for(size_t l=0; l<weights_s3.size(); l++) { 218 218 dp.thick_shell3 = weights_s3[l].value; 219 219 // Loop over radius weight points 220 for( int m=0; m<weights_s4.size(); m++) {220 for(size_t m=0; m<weights_s4.size(); m++) { 221 221 dp.thick_shell4 = weights_s4[m].value; 222 222 //Un-normalize FourShell by volume
Note: See TracChangeset
for help on using the changeset viewer.