Changeset 815
- Timestamp:
- Jul 13, 2011 2:55:29 PM (11 years ago)
- Location:
- sans/XOP_Dev/MonteCarlo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/XOP_Dev/MonteCarlo/DebyeSpheres.c
r793 r815 336 336 double grid,binWidth,val,retVal; 337 337 int p1,p2; 338 int intSLD; 338 339 339 340 … … 429 430 p2 = (int) p->p2; 430 431 432 intSLD = (int) p->minSLD; //convert to int for use as index 433 431 434 grid = p->grid; 432 435 binWidth = p->binWidth; … … 442 445 rhoi = (long) rho[i]; //get the rho value at i and j 443 446 rhoj = (long) rho[j]; 444 rii = (long) SLDLook[rhoi ]; //rho i index445 rji = (long) SLDLook[rhoj ]; //rho j index447 rii = (long) SLDLook[rhoi+intSLD]; //rho i index 448 rji = (long) SLDLook[rhoj+intSLD]; //rho j index 446 449 MemClear(indices, sizeof(indices)); // Must be 0 for unused dimensions. 447 450 indices[0] = rii; -
sans/XOP_Dev/MonteCarlo/DebyeSpheres.h
r793 r815 61 61 double binWidth; 62 62 double grid; 63 double minSLD; 63 64 waveHndl PSFidH; // psf id matrix, this is 2D 64 65 waveHndl SLDLookH; // SLD lookup wave, this is 1D -
sans/XOP_Dev/MonteCarlo/MonteCarlo.r
r793 r815 149 149 NT_FP64 + WAVE_TYPE, // SLD lookup 150 150 NT_FP64 + WAVE_TYPE, // PSF id matrix 151 NT_FP64, // abs(minSLD) for lookup table 151 152 NT_FP64, // grid 152 153 NT_FP64, // bin width
Note: See TracChangeset
for help on using the changeset viewer.