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::EpsL

VERSION

version 0.003

SYNOPSIS

use Photonic::NonRetarded::EpsL;
my $eps=Photonic::NonRetarded::EpsL(nr=>$nr);
my $epsilonLongitudinal=$eps->evaluate($epsA, $epsB);

DESCRIPTION

Calculates the longitudinal dielectric function for a given fixed Photonic::NonRetarded::AllH structure as a function of the dielectric functions of the components.

METHODS

  • new(nr=>$nr, nh=>$nh, small=>$small)

    Initializes the structure.

    $nr is a Photonic::NonRetarded::AllH structure.

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

    $small is the criteria of convergence

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

  • nr

    The NonRetarded::AllH structure

  • epsA epsB

    The dielectric functions of component A and component B used in the last calculation.

  • u

    The spectral variable used in the last calculation

  • epsL

    The longitudinal macroscopic function obtained in the last calculation.

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