aboutsummaryrefslogtreecommitdiff
path: root/data/diffraction.cl
AgeCommit message (Expand)Author
2012-02-22Tidy upThomas White
2012-02-22Add divergence to CPU version as wellThomas White
2012-02-22Add divergence to calculationThomas White
2012-02-22FormattingThomas White
2012-02-22Make the GPU simulation workThomas White
2012-02-22Fix array offsetThomas White
2012-02-22FussinessThomas White
2012-02-22Tidy up, fix definition of get_q() in CL kernelThomas White
2012-02-22Fix GPU code for new geometry, and tidy up some detector stuff (needs debugging)Thomas White
2012-02-22Use symmetry when simulating on the GPUThomas White
2012-02-22Fix previous commitThomas White
2012-02-22Flip beam direction in OpenCL code as wellThomas White
2012-02-22Use zero instead of a silly value when outside resolution cutoffThomas White
2012-02-22Return zero if reflection is out of rangeThomas White
2010-03-26Don't try to render PDBs, part IThomas White
2010-03-16Fixes for standards complianceThomas White
2010-03-02Don't need this function any moreThomas White
2010-03-01Use a lookup table for sinc values in GPU calculationThomas White
2010-02-27Doesn't look like native_sin() works out here, sadly...Thomas White
2010-02-26Move water calculation to diffraction.c, and work out the consequencesThomas White
2010-02-22Define M_PI only if it's not already definedThomas White
2010-02-22Use GPU native functionsThomas White
2010-02-22OpenCL strictnessThomas White
2010-02-20Nicer branchingThomas White
2010-02-20Fix get_q, which was distorting reciprocal space previouslyThomas White
2010-02-20Don't sum up ten times when one will sufficeThomas White
2010-02-19Move critical array size definitions to share between CPU and GPU versionsThomas White
2010-02-19Add bandwidth to GPU calculationThomas White
2010-02-19Simplify sampling a bit - preventing some indexing issuesThomas White
2010-02-19Add finite sampling for better simulation accuracyThomas White
2010-02-19Honour detector panels in GPU calculationThomas White
2010-02-19Honour particle size in GPU calculationThomas White
2010-02-19Don't overrun bounds of sfac bufferThomas White
2010-02-17GPU: Do rotation, other fixesThomas White
2010-02-17Use OpenCL for much faster diffraction calculationThomas White