用于C++的计算波动光学库:CWO ++库
Computational wave optics library for C++: CWO++ library
摘要:
衍射计算,例如角谱方法和菲涅耳衍射,用于计算标量光传播。计算在计算全息、数字全息、衍射光学元件、显微镜、图像加密和解密、光学器件的三维分析等广泛的光学领域有着广泛的应用,但随着大规模衍射计算需求的不断增长,现有的计算机计算能力已经不足。我们已经开发了一个使用图形处理单元(GPU)进行衍射计算的数值库,命名为GWO库。然而,这个GWO库并不是用户友好的,因为它是基于C语言的,并且只能在GPU上运行。在本文中,我们开发了一个新的C++类库的衍射和计算全息计算,这是一个CWO++库,运行在CPU和GPU上。我们还描述了CWO++库的结构,性能和使用示例。
英文摘要:
Diffraction calculations, such as the angular spectrum method, and Fresnel diffractions, are used for calculating scalar light propagation. The calculations are used in wide-ranging optics fields: for example, computer generated holograms (CGHs), digital holography, diffractive optical elements, microscopy, image encryption and decryption, three-dimensional analysis for optical devices and so on. However, increasing demands made by large-scale diffraction calculations have rendered the computational power of recent computers insufficient. We have already developed a numerical library for diffraction calculations using a graphic processing unit (GPU), which was named the GWO library. However, this GWO library is not user-friendly, since it is based on C language and was also run only on a GPU. In this paper, we develop a new C++ class library for diffraction and CGH calculations, which is referred as to a CWO++ library, running on a CPU and GPU. We also describe the structure, performance, and usage examples of the CWO++ library.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。