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

NAME

Photonic::NonRetarded::FieldH

VERSION

version 0.010

SYNOPSIS

   use Photonic::NonRetarded::FieldH;
   my $nrf=Photonic::NonRetarded::FieldH->new(...);
   my $field=$nrf->evaluate($epsA, $epsB);

DESCRIPTION

Calculates the non retarded electric field for a given fixed Photonic::Geometry structure and given dielectric functions of the components.

METHODS

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

    Initializes the structure.

    $nr Photonic::NonRetarded::AllH is a Haydock calculator for the structure, *initialized* with the flag keepStates=>1 (Photonic::Types::NonRetarded::AllHSave, as defined in Photonic::Types).

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

    $smallE is the criteria of convergence (default 1e-7) for Field calculations

  • evaluate($epsA, $epsB...)

    Returns the microscopic electric field for given dielectric functions of the host $epsA and the particle $epsB.

ACCESORS (read only)

  • nr

    Photonic::NonRetarded::AllH structure

  • nh

    Maximum number of Haydock coefficients to use.

  • smallE

    Criteria of convergence. 0 means don't check. From Photonic::Roles::EpsParams

  • epsA

    Dielectric function of component A

  • epsB

    Dielectric function of componente B

  • u

    Spectral variable

  • Es

    Array of field coefficients

  • filter

    optional reciprocal space filter

  • field

    real space field in format RorI, cartesian, nx, ny,...

  • epsL

    Longitudinal dielectric response, obtained colateraly from last evaluation of the field