A diffraction condition simulation device capable of calculating the UB
matrix and the rotation matrix R and also their multiplication RUB,
thereby obtaining and displaying any Bragg reflection conditions of any
Bragg reflections desired by an operator of said device. The Bragg
reflection conditions are useful for structure analysis and structure
evaluation of any crystal samples.