30 likes | 164 Vues
This guide discusses three methods for locating data associated with a given reflection (hkl) in a linear reflection dataset using PLATON, a multipurpose crystallographic tool developed by A.L. Spek at Utrecht University. The first option involves a linear search, which is memory efficient but time inefficient. The second option utilizes a 3-dimensional address array, optimizing access but requiring careful worst-case dimensioning. The third option employs a linear address array, simplifying access without the need for worst-case considerations.
E N D
Programming the Science ofCrystallography PLATON, a Multipurpose Crystallographic Tool A.L.Spek, Utrecht University
How to find the data belonging to a given reflection hkl in a linear list of reflection data Reflection data assumed in array REFL(I,J) • Option #1: linear search Memory efficient but time inefficient • Option #2: with the help of a 3-dimensional address array Addresses array requires worst case dimensioning Array element ADDR(H,K,L) contains the address I for the data in REFL(I,J) • Option #3: with the help of a linear address array No worst case dimensioning needed