Module material

Module material 

Source
Expand description

Isotropic, optionally chiral materials and the validation of concentric layers.

Upstream: treams.Material and treams.misc.refractive_index.

Structs§

LayerGradient
Gradients of concentric layers: the radii of their boundaries and their media.
Material
Isotropic reciprocal material, optionally chiral.
MaterialTangent 🔒
Derivatives of a material’s index, impedance and chirality along one parameter.

Functions§

add_entries 🔒
sums[i] += values[i] for every entry.
real_refractive_indices
Negative- and positive-helicity refractive indices sqrt(epsilon mu) -+ kappa of a real material.
validate_layer_tangents 🔒
Validate a direction of the layer inputs, without imposing physical material or positive-radius constraints on derivatives.
validate_layers 🔒
Shared material and concentric-boundary validation.