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/MonteCarlo2.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 
    6159        // for accessing the 2D wave data, direct method (see the WaveAccess example XOP) 
     
    7472         
    7573//      char buf[256]; 
    76                  
     74 
     75        vz_1 = 3.956e5;         //velocity [cm/s] of 1 A neutron 
     76        g = 981.0;                              //gravity acceleration [cm/s^2] 
     77         
    7778        /* check that wave handles are all valid */ 
    7879        if (p->inputWaveH == NIL) { 
Note: See TracChangeset for help on using the changeset viewer.