Ignore:
Timestamp:
Jul 25, 2011 4:29:30 PM (11 years ago)
Author:
srkline
Message:

Added new DebyeSphere? functions to the Win.rc file

Changed the MonteCarlo?.c files to do all of the declarations before any assignments. This was generating a heap of errors in VC10, but no problems in Xcode.

XOPs all seem to compile fine on the newly set up sansvm2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/XOP_Dev/MonteCarlo/MonteCarlo4.c

    r812 r825  
    5555        double vz_1,g,yg_d;                             //gravity terms 
    5656         
    57         vz_1 = 3.956e5;         //velocity [cm/s] of 1 A neutron 
    58         g = 981.0;                              //gravity acceleration [cm/s^2]  
    59          
     57 
    6058        // for accessing the 2D wave data, direct method (see the WaveAccess example XOP) 
    6159        waveHndl wavH; 
     
    7371         
    7472        //      char buf[256]; 
     73 
     74        vz_1 = 3.956e5;         //velocity [cm/s] of 1 A neutron 
     75        g = 981.0;                              //gravity acceleration [cm/s^2]  
    7576         
    7677        /* check that wave handles are all valid */ 
Note: See TracChangeset for help on using the changeset viewer.