Ignore:
Timestamp:
Oct 26, 2010 3:32:14 PM (12 years ago)
Author:
srkline
Message:

Changes to DebyeSpheres? to convert everything to double, rather than float.

Changes to MonteCarlo? to use a local definition of round(), since it's not a standard function in Visual Studio's math.h. Easier to just write my own and give it an odd name - MC_round()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/XOP_Dev/MonteCarlo/MonteCarlo.h

    r623 r758  
    5454int Monte_SANSX3(MC_ParamsPtr p); 
    5555int Monte_SANSX4(MC_ParamsPtr p); 
     56 
     57long MC_round(double x); 
    5658int FindPixel(double testQ, double testPhi, double lam, double sdd, double pixSize, double xCtr, double yCtr, long *xPixel, long *yPixel); 
    5759int NewDirection(double *vx, double *vy, double *vz, double theta, double phi); 
Note: See TracChangeset for help on using the changeset viewer.