Photonic::NonRetarded::EpsTensor
version 0.010
use Photonic::NonRetarded::EpsTensor; my $eps=Photonic::NonRetarded::EpsTensor->new(geometry=>$g); my $epsilonTensor=$eps->evaluate($epsA, $epsB);
Calculates the dielectric tensor for a given fixed Photonic::Geometry structure as a function of the dielectric functions of the components.
new(geometry=>$g, nh=>$nh, smallH=>$smallH, smallE=>$smallE, keepStates=>$k)
Initializes the structure.
$g Photonic::Geometry describing the structure
$nh is the maximum number of Haydock coefficients to use.
$smallH and $smallE are the criteria of convergence (default 1e-7) for the Haydock coefficients and the tensor calculations.
$k is a flag to keep states in Haydock calculations (default 0)
evaluate($epsA, $epsB)
Returns the macroscopic dielectric function for a given value of the dielectric functions of the host $epsA and the particle $epsB.
keepStates
Value of flag to keep Haydock states
epsA
Dielectric function of component A
epsB
Dielectric function of componente B
u
Spectral variable
nr
Array of Photonic::NonRetarded::AllH structures, one for each direction
epsL
Array of Photonic::NonRetarded::EpsL structures, one for each direction.
epsTensor
The dielectric tensor
nh
The maximum number of Haydock coefficients to use.
converged
Flags that the last calculation converged before using up all coefficients
smallH smallE
Criteria of convergence for Haydock and epsilon calculations. 0 means don't check. From Photonic::Roles::EpsParams.
*Check last remark*
To install Photonic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Photonic
CPAN shell
perl -MCPAN -e shell install Photonic
For more information on module installation, please visit the detailed CPAN module installation guide.