Cluster geometries
CoupledDipole.Cluster — TypeCluster(positions, angles, sizes, material)Particle cluster specification.
CoupledDipole.cluster_single — Functioncluster_single(a::T, b::T, c::T, α::T = 0.0, β::T = 0.0, γ::T = 0.0) where T <: RealParticle cluster consisting of a single particle at the origin
a,b,c: semi-axis along x,y,zα,β,γ: Euler anglesmaterial: String referencing the material of the particletype: String, "point" dipole or "particle"
Examples
cluster_single(1.0,2.0,3.0)CoupledDipole.cluster_dimer — Functioncluster_dimer(d::T, a::T, b::T, c::T, ϕ::T = 0.0, α_1::T = 0.0, α_2::T = 0.0) where T <: RealParticle cluster consisting of 2 identical particles separated along y
a,b,c: semi-axes along x,y,zϕ: dihedral angle between both particles seen along the y-axisα_1,α_2: angle of each particle with the y axismaterial: String referencing the material of every particletype: String, "point" dipole or "particle"
Examples
cluster_dimer(80, 10, 10, 20)
CoupledDipole.cluster_helix — Functioncluster_helix(N, a, b, c, R, Λ, δ = π/4, δ_0 = 0, handedness="left",
material = "Au", type="particle")Helical cluster of N identical particles with axis along z
N: number of particlesa,b,c: semi-axes along x,y,zR: helix radiusΛ: helix pitchδ: angle between subsequent particlesδ: starting anglehandedness: "left" or "right"material: String referencing the material of every particletype: String, "point" dipole or "particle"
Examples
cluster_helix(4, 20, 20, 30, 50, 300)CoupledDipole.cluster_line — Functioncluster_line(N, Λ, a, b, c, φ, θ, ψ, material = "Au", type="particle")Line of N identical particles in the x direction
N: number of particles (approximate if not exact square)a,b,c: semi-axes along x,y,zΛ: array pitchφ, θ, ψ: particle Euler anglesmaterial: String referencing the material of every particletype: String, "point" dipole or "particle"
Examples
cluster_line(3, 500, 20, 20, 30, 0, 0, 0)CoupledDipole.cluster_array — Functioncluster_array(N, Λ, a, b, c, φ, θ, ψ, material = "Au", type="particle")Square array of N identical particles in the xy plane
N: number of particles (approximate if not exact square)a,b,c: semi-axes along x,y,zΛ: array pitchφ, θ, ψ: particle Euler anglesmaterial: String referencing the material of every particletype: String, "point" dipole or "particle"
Examples
cluster_array(4, 500, 20, 20, 30, 0, 0, 0)