Changeset 793 for sans/XOP_Dev/MonteCarlo/DebyeSpheres.c
- Timestamp:
- Feb 23, 2011 10:26:15 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/XOP_Dev/MonteCarlo/DebyeSpheres.c
r790 r793 172 172 int i,j; 173 173 int npt; 174 175 174 int p1,p2; 176 175 177 176 // check for all of the required waves … … 209 208 zv = WaveData(p->zwavH); 210 209 210 p1 = (int) p->p1; 211 p2 = (int) p->p2; 212 211 213 dmax = 0; 212 214 //do the i!=j double loop, keeping the maximum distance 213 215 214 for(i= 0;i<npt;i+=1) {216 for(i=p1;i<p2;i+=1) { 215 217 for(j=(i+1);j<npt;j+=1) { 216 218 // dij=XYZDistance(xv[i],xv[j],yv[i],yv[j],zv[i],zv[j]);
Note: See TracChangeset
for help on using the changeset viewer.