The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Photonic::NonRetarded::EpsTensor

VERSION

version 0.004

SYNOPSIS

use Photonic::NonRetarded::EpsTensor;
my $eps=Photonic::NonRetarded::EpsTensor->new(geometry=>$g);
my $epsilonTensor=$eps->evaluate($epsA, $epsB);

DESCRIPTION

Calculates the dielectric tensor for a given fixed Photonic::Geometry structure as a function of the dielectric functions of the components.

METHODS

  • new(geometry=>$g, nh=>$nh, small=>$small, keepStates=>$k)

    Initializes the structure.

    $g Photonic::Geometry describing the structure

    $nh is the maximum number of Haydock coefficients to use.

    $small is the criteria of convergence (default 1e-7)

    $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.

ACCESORS (read only)

  • 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.

  • nhActual

    The actual number of Haydock coefficients used in the last calculation

  • converged

    Flags that the last calculation converged before using up all coefficients

  • small

    Criteria of convergence. 0 means don't check.