Design considerations and structure of the CDA package

Description of a cluster at the R level

A cluster describes the geometry of N particles in a list,

Polarisability

The principal values of the inverse polarisability tensor of every particle are passed in a matrix Beta, with 3N rows (1/\(\alpha_x\),1/\(\alpha_y\),1/\(\alpha_z\)) for N particles, and Nlambda columns.

This matrix is formed from the sizes of the cluster, and the material and medium properties.

Functions at the R level

Modelling spectra

Clusters

Utilities

Visualisation

Structure of the core C++ components

Functions at the C++ level

Array

array_factor Dipole sum (truncated) for 2D square array

CDA

CD

Dispersion

Utils