getRefractiveIndex

returns the susceptibility of choosen subsystem.

Contents

Syntax

Description

getRefractiveIndex(name,eps) works excatly analougus to the getSusceptibility method The refractive Index is calculated using the susceptibility by

$$ N(\omega) = \sqrt{1+ d \cdot \chi(\omega)} $$

where d denots the density of the medium. d is set to an arbitrary low value of d = 0.01, which corresponds to a gas.