Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aell_v1_0.tar.gz(4083 Kbytes)
Manuscript Title: Computational wave optics library for C++: CWO++ library
Authors: Tomoyoshi Shimobaba, Jian Tong Weng, Takahiro Sakurai, Naohisa Okada, Takashi Nishitsuji, Naoki Takada, Atsushi Shiraki, Nobuyuki Masuda, Tomoyoshi Ito
Program title: CWO++
Catalogue identifier: AELL_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 183(2012)1124
Programming language: C++.
Computer: General computers and general computers with NVIDIA GPUs.
Operating system: Windows XP, Vista, 7.
Has the code been vectorised or parallelized?: Yes. 1 core processor used in CPU and many cores in GPU.
RAM: 256M bytes
Keywords: Diffraction, Digital holography, Digital holographic microscopy, Graphics processing unit, GPGPU, GPU computing, Holography, Real-time holography, Scalar light propagation.
Classification: 18.

External routines: CImg, FFTW

Nature of problem:
The CWO++ library provides diffraction calculations which are useful for computer generated holograms (CGHs), digital holography, diffractive optical elements, microscopy, image encryption and decryption and three-dimensional analysis for optical devices.

Solution method:
FFT-based diffraction calculations, computer-generated holograms by direct integration

Running time:
The sample runs provided take approximately 5 minutes for the C++ version and 5 seconds for the C++ with GPUs version.