Changeset 758 for sans/XOP_Dev/MonteCarlo/DebyeSpheres.h
- Timestamp:
- Oct 26, 2010 3:32:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/XOP_Dev/MonteCarlo/DebyeSpheres.h
r674 r758 12 12 // result is the last parameter, always. 13 13 typedef struct AltiParams { 14 DOUBLEgrid; // effective c-to-c distance between spheres = 0.62*Rprimary15 DOUBLERprimary; //primary sphere radius14 double grid; // effective c-to-c distance between spheres = 0.62*Rprimary 15 double Rprimary; //primary sphere radius 16 16 waveHndl rhowavH; // rho at xyz!!! 17 17 waveHndl zwavH; // z coordinate. ALL are expected to be SP waves 18 18 waveHndl ywavH; // y coordinate. 19 19 waveHndl xwavH; // x coordinate. 20 DOUBLEqval; // q-value.20 double qval; // q-value. 21 21 void* tp; //unused void for threadsafe functions 22 DOUBLEresult;22 double result; 23 23 }AltiParams, *AltiParamsPtr; 24 24 25 25 26 float PhiQR(float qval, floatrval);27 float XYZDistance(float x1, float x2,float y1, float y2,float z1, floatz2);26 double PhiQR(double qval, double rval); 27 double XYZDistance(double x1, double x2,double y1, double y2,double z1, double z2); 28 28 int DebyeSpheresX(AltiParamsPtr p);
Note: See TracChangeset
for help on using the changeset viewer.