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/MonteCarlo.c

    r812 r825  
    5252        double vz_1,g,yg_d;                             //gravity terms 
    5353         
    54         vz_1 = 3.956e5;         //velocity [cm/s] of 1 A neutron 
    55         g = 981.0;                              //gravity acceleration [cm/s^2] 
     54 
    5655         
    5756        // for accessing the 2D wave data, direct method (see the WaveAccess example XOP) 
     
    7170//      char buf[256]; 
    7271                 
     72        vz_1 = 3.956e5;         //velocity [cm/s] of 1 A neutron 
     73        g = 981.0;                              //gravity acceleration [cm/s^2] 
     74 
    7375        /* check that wave handles are all valid */ 
    7476        if (p->inputWaveH == NIL) { 
Note: See TracChangeset for help on using the changeset viewer.