Skip to main content
QUICK REVIEW

[Paper Review] User Guide for the Discrete Dipole Approximation Code DDSCAT.6.0

B. T. Draine, Piotr J. Flatau|arXiv (Cornell University)|Sep 2, 2003
Particle accelerators and beam dynamicsEngineering1 references93 citations
TL;DR

This paper presents DDSCAT.6.0, a freely available Fortran software package that uses the Discrete Dipole Approximation (DDA) to compute electromagnetic scattering and absorption by particles of arbitrary shape and complex refractive index. It leverages Fast Fourier Transform (FFT) and MPI for high-performance computing, enabling accurate simulations for targets with size parameters <15 and refractive indices close to unity.

ABSTRACT

DDSCAT.6.0 is a freely available software package (http://www.astro.princeton.edu/~draine/DDSCAT.6.0.html) which applies the "discrete dipole approximation" (DDA) to calculate scattering and absorption of electromagnetic waves by targets with arbitrary geometries and complex refractive index. DDSCAT.6.0 allows accurate calculations of electromagnetic scattering from targets with ``size parameters'' 2*pi*a/lambda &lt; 15 provided the refractive index m is not large compared to unity (|m-1| &lt; 1). DDSCAT.6.0 includes the option of using the FFTW (Fastest Fourier Transform in the West) package. DDSCAT.6.0 also includes MPI support, permitting parallel calculations on multiprocessor systems. DDSCAT package is written in Fortran and is highly portable. The program supports calculations for a variety of target geometries (e.g., ellipsoids, regular tetrahedra, rectangular solids, finite cylinders, hexagonal prisms, etc.). Target materials may be both inhomogeneous and anisotropic. It is straightforward for the user to ``import'' arbitrary target geometries into the code, and relatively straightforward to add new target generation capability to the package. DDSCAT automatically calculates total cross sections for absorption and scattering and selected elements of the Mueller scattering intensity matrix for specified orientation of the target relative to the incident wave, and for specified scattering directions. This User Guide explains how to use DDSCAT.6.0 to carry out electromagnetic scattering calculations. CPU and memory requirements are described.

Motivation & Objective

  • To provide a comprehensive user guide for DDSCAT.6.0, a widely used software package for simulating electromagnetic scattering by complex particles.
  • To enable researchers to perform accurate scattering and absorption calculations for non-spherical particles with arbitrary geometries and inhomogeneous or anisotropic materials.
  • To support high-performance computing through integration with FFTW and MPI, enhancing computational efficiency for large-scale simulations.
  • To ensure broad accessibility and extensibility by providing modular, portable Fortran source code and clear documentation for customization and target importation.
  • To promote reproducibility and community use by encouraging citation, feedback, and contributions through a public code repository and user registry.

Proposed method

  • The Discrete Dipole Approximation (DDA) models the target as a lattice of polarizable point dipoles, solving the resulting system of linear equations using iterative solvers.
  • The code employs the Fastest Fourier Transform in the West (FFTW) library to accelerate the matrix-vector multiplication in the iterative solution process.
  • MPI (Message Passing Interface) support enables parallel execution on multi-processor systems, significantly reducing computation time for large dipoles arrays.
  • The software supports various target geometries (e.g., ellipsoids, cylinders, tetrahedra) and allows user-defined target import via custom input routines.
  • Output includes total absorption and scattering cross sections, Mueller scattering matrix elements, and Stokes parameters for specified scattering directions and incident polarizations.
  • The code generates machine-independent netCDF output files for portable data exchange and supports IDL-based postprocessing via utility routines like readnet.pro and mie.pro.

Experimental results

Research questions

  • RQ1How can the discrete dipole approximation be efficiently implemented in a portable, high-performance Fortran code for arbitrary particle geometries?
  • RQ2What are the optimal computational strategies—such as FFT and MPI—for accelerating DDA simulations of electromagnetic scattering?
  • RQ3How accurately can DDSCAT.6.0 model scattering and absorption for targets with size parameters <15 and refractive indices close to unity?
  • RQ4What are the practical considerations for configuring, compiling, and running DDSCAT.6.0 on different computing platforms?
  • RQ5How can users extend the code to include new target shapes, materials, or scattering configurations without modifying core algorithms?

Key findings

  • DDSCAT.6.0 enables accurate electromagnetic scattering calculations for targets with size parameters less than 15 and refractive indices differing from unity by less than 1.
  • The integration of FFTW significantly accelerates the iterative solution process, making large-scale simulations feasible on standard and high-performance computing systems.
  • MPI support allows scalable parallel execution, reducing runtime on multi-core and cluster systems, with performance scaling observed across multiple processors.
  • The code supports both ASCII and netCDF output formats, with netCDF being the recommended format for portable, random-access data handling.
  • The inclusion of IDL utilities such as readnet.pro and mie.pro enables effective postprocessing and comparison with Mie theory for spherical particles.
  • The software is highly modular and extensible, allowing users to import custom target geometries and extend functionality with minimal code changes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.