Changeset 111 for sans/Analysis/branches/ajj_23APR07
- Timestamp:
- May 9, 2007 9:07:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Analysis/branches/ajj_23APR07/XOPs/SANSAnalysis/XOP/ResolutionSmearing.c
r106 r111 11 11 #include "GaussWeights.h" 12 12 #include "ResolutionSmearing.h" 13 #include "libSANSAnalysis.h" 13 14 14 15 int … … 320 321 double nord,va,vb,summ,yyy,zi,Pi; 321 322 double answer,Resoln,i_shad,i_qbar,i_sigq; 323 char buf[256]; 322 324 323 325 Pi = 4.0*atan(1.0); 324 325 326 i_shad = p->i_shad; 326 327 i_qbar = p->i_qbar; 327 328 i_sigq = p->i_sigq; 328 329 329 330 330 dp = WaveData(p->waveHandle); 331 331 q = p->x; 332 332 333 p->result = Cyl_PolyRadius(dp,q); 334 return 0; 333 335 334 336 if (i_sigq >= 0){ … … 340 342 } 341 343 vb = 3*i_sigq + i_qbar; 342 343 344 summ = 0.0; 344 345 ii=0; … … 369 370 //answer = qtrap_USANS(fi,pp,va,vb,tol,maxiter); 370 371 //answer /= vb; 372 373 //Just return a value that is clearly nonsense, but is non-zero 374 //USANS Smearing code not in form suitable for this test of direct calling 375 //of C library function. AJJ May 9 2007 371 376 answer = -10; 372 377 } 373 374 375 378 p->result = answer; 376 379 377 380 return 0; 378 381 } 379 382 380 383
Note: See TracChangeset
for help on using the changeset viewer.