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

VERSION

version 0.005

SYNOPSIS

use Photonic::NonRetarded::Field;
my $nrf=Photonic::NonRetarded::Field->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, small=>$small)

    Initializes the structure.

    $nr Photonic::NonRetarded::AllH is a Haydock calculator for the structure

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

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

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

  • small

    Criteria of convergence. 0 means don't check

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