The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Photonic::NonRetarded::EpsTensor

VERSION

version 0.010

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

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.

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